From: Robert Haas Date: Tue, 20 Jul 2010 01:22:52 +0000 (+0000) Subject: Make hstore regression tests independent of standard_conforming_strings. X-Git-Tag: REL9_1_ALPHA1~199 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e22e08fe5a5de9baa0a4ec12c8df548594a461a;p=postgresql Make hstore regression tests independent of standard_conforming_strings. Per buildfarm. --- diff --git a/contrib/hstore/expected/hstore.out b/contrib/hstore/expected/hstore.out index e78264d12b..0ed109203c 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 8fefcbba93..76f742299e 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;