From 0e22e08fe5a5de9baa0a4ec12c8df548594a461a Mon Sep 17 00:00:00 2001
From: Robert Haas <rhaas@postgresql.org>
Date: Tue, 20 Jul 2010 01:22:52 +0000
Subject: [PATCH] Make hstore regression tests independent of
 standard_conforming_strings.

Per buildfarm.
---
 contrib/hstore/expected/hstore.out | 8 ++++----
 contrib/hstore/sql/hstore.sql      | 8 ++++----
 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;
-- 
GitLab