aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2010-07-20 01:22:52 +0000
committerRobert Haas <rhaas@postgresql.org>2010-07-20 01:22:52 +0000
commit0e22e08fe5a5de9baa0a4ec12c8df548594a461a (patch)
tree76b28453ad42f65531e4fbc09e32dcd6d101ef8a
parent5ffaa9005c451330bcde29d11a9385c0900ee707 (diff)
downloadpostgresql-0e22e08fe5a5de9baa0a4ec12c8df548594a461a.tar.gz
postgresql-0e22e08fe5a5de9baa0a4ec12c8df548594a461a.zip
Make hstore regression tests independent of standard_conforming_strings.
Per buildfarm.
-rw-r--r--contrib/hstore/expected/hstore.out8
-rw-r--r--contrib/hstore/sql/hstore.sql8
2 files changed, 8 insertions, 8 deletions
diff --git a/contrib/hstore/expected/hstore.out b/contrib/hstore/expected/hstore.out
index e78264d12bc..0ed109203cf 100644
--- a/contrib/hstore/expected/hstore.out
+++ b/contrib/hstore/expected/hstore.out
@@ -207,25 +207,25 @@ select 'aa=>"NuLl"'::hstore;
"aa"=>"NuLl"
(1 row)
-select '\\=a=>q=w'::hstore;
+select e'\\=a=>q=w'::hstore;
hstore
-------------
"=a"=>"q=w"
(1 row)
-select '"=a"=>q\\=w'::hstore;
+select e'"=a"=>q\\=w'::hstore;
hstore
-------------
"=a"=>"q=w"
(1 row)
-select '"\\"a"=>q>w'::hstore;
+select e'"\\"a"=>q>w'::hstore;
hstore
--------------
"\"a"=>"q>w"
(1 row)
-select '\\"a=>q"w'::hstore;
+select e'\\"a=>q"w'::hstore;
hstore
---------------
"\"a"=>"q\"w"
diff --git a/contrib/hstore/sql/hstore.sql b/contrib/hstore/sql/hstore.sql
index 8fefcbba93a..76f742299ea 100644
--- a/contrib/hstore/sql/hstore.sql
+++ b/contrib/hstore/sql/hstore.sql
@@ -48,10 +48,10 @@ select 'aa=>null'::hstore;
select 'aa=>NuLl'::hstore;
select 'aa=>"NuLl"'::hstore;
-select '\\=a=>q=w'::hstore;
-select '"=a"=>q\\=w'::hstore;
-select '"\\"a"=>q>w'::hstore;
-select '\\"a=>q"w'::hstore;
+select e'\\=a=>q=w'::hstore;
+select e'"=a"=>q\\=w'::hstore;
+select e'"\\"a"=>q>w'::hstore;
+select e'\\"a=>q"w'::hstore;
select ''::hstore;
select ' '::hstore;