From 890faaf1957759c6e17fbcbfd16f7cabc4a59d07 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Tue, 19 Sep 2017 14:51:51 -0400 Subject: [PATCH] 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. --- contrib/citext/expected/citext.out | 2 ++ contrib/citext/expected/citext_1.out | 2 ++ contrib/citext/sql/citext.sql | 3 +++ 3 files changed, 7 insertions(+) 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 -- 2.40.0