diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2017-09-19 14:51:51 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2017-09-19 14:51:51 -0400 |
commit | 890faaf1957759c6e17fbcbfd16f7cabc4a59d07 (patch) | |
tree | 283a5b5874cc4cc54b88de26d92a04e6d73544dd | |
parent | 1910353675bd149e1020b29c0fae02538fc358cd (diff) | |
download | postgresql-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.out | 2 | ||||
-rw-r--r-- | contrib/citext/expected/citext_1.out | 2 | ||||
-rw-r--r-- | contrib/citext/sql/citext.sql | 3 |
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 |