postgres.git / summary / log / commit / refs
commit 890faaf1957759c6e17fbcbfd16f7cabc4a59d07
Author: Andrew Dunstan <andrew@dunslane.net>
Date: Tue Sep 19 18:51:51 2017 +0000
First released in: master (reverted before release)
Reverted by: d1687c692681 (in 11.0)
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 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
[parent: 1910353675bd]