From: Andrew Dunstan Date: Tue, 19 Sep 2017 18:51:51 +0000 (-0400) Subject: Set client encoding to UTF8 for the citext regression script X-Git-Tag: jit-before-rebase-2017-11-03~227 X-Git-Url: http://git.postgresql.org/gitweb/static/connections.php?a=commitdiff_plain;h=890faaf1957759c6e17fbcbfd16f7cabc4a59d07;p=users%2Fandresfreund%2Fpostgres.git 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. --- diff --git a/contrib/citext/expected/citext.out b/contrib/citext/expected/citext.out index 56fb0e9036..ff0a6ed588 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 95549c5888..43a609b066 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 e9acd4664f..91dd7d03d0 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