aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2017-09-19 14:51:51 -0400
committerAndrew Dunstan <andrew@dunslane.net>2017-09-19 14:51:51 -0400
commit890faaf1957759c6e17fbcbfd16f7cabc4a59d07 (patch)
tree283a5b5874cc4cc54b88de26d92a04e6d73544dd
parent1910353675bd149e1020b29c0fae02538fc358cd (diff)
downloadpostgresql-890faaf1957759c6e17fbcbfd16f7cabc4a59d07.tar.gz
postgresql-890faaf1957759c6e17fbcbfd16f7cabc4a59d07.zip
Set client encoding to UTF8 for the citext regression script
Problem introduced with non-ascii characters in commit f2464997644c and discovered on various buildfarm animals.
-rw-r--r--contrib/citext/expected/citext.out2
-rw-r--r--contrib/citext/expected/citext_1.out2
-rw-r--r--contrib/citext/sql/citext.sql3
3 files changed, 7 insertions, 0 deletions
diff --git a/contrib/citext/expected/citext.out b/contrib/citext/expected/citext.out
index 56fb0e9036a..ff0a6ed588a 100644
--- a/contrib/citext/expected/citext.out
+++ b/contrib/citext/expected/citext.out
@@ -1,6 +1,8 @@
--
-- Test citext datatype
--
+--- script setup
+set client_encoding = 'utf8';
CREATE EXTENSION citext;
-- Check whether any of our opclasses fail amvalidate
SELECT amname, opcname
diff --git a/contrib/citext/expected/citext_1.out b/contrib/citext/expected/citext_1.out
index 95549c58888..43a609b066b 100644
--- a/contrib/citext/expected/citext_1.out
+++ b/contrib/citext/expected/citext_1.out
@@ -1,6 +1,8 @@
--
-- Test citext datatype
--
+--- script setup
+set client_encoding = 'utf8';
CREATE EXTENSION citext;
-- Check whether any of our opclasses fail amvalidate
SELECT amname, opcname
diff --git a/contrib/citext/sql/citext.sql b/contrib/citext/sql/citext.sql
index e9acd4664f3..91dd7d03d0d 100644
--- a/contrib/citext/sql/citext.sql
+++ b/contrib/citext/sql/citext.sql
@@ -2,6 +2,9 @@
-- Test citext datatype
--
+--- script setup
+set client_encoding = 'utf8';
+
CREATE EXTENSION citext;
-- Check whether any of our opclasses fail amvalidate