summaryrefslogtreecommitdiff
path: root/src/pl/plpython/sql/plpython_unicode.sql
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-04-16 21:52:10 +0300
committerPeter Eisentraut <peter_e@gmx.net>2011-04-16 21:53:43 +0300
commit5809a6458450a59f8c4a7a25beaefc81cff563d1 (patch)
treed1437b10414f0dc30b49bb9e447e0b95c5808c51 /src/pl/plpython/sql/plpython_unicode.sql
parent4b6106ccfea21e86943f881edcf3cfc03661a415 (diff)
downloadpostgresql-5809a6458450a59f8c4a7a25beaefc81cff563d1.tar.gz
Set client encoding explicitly in plpython_unicode test
This will (hopefully) eliminate the need for the plpython_unicode_0.out expected file.
Diffstat (limited to 'src/pl/plpython/sql/plpython_unicode.sql')
-rw-r--r--src/pl/plpython/sql/plpython_unicode.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pl/plpython/sql/plpython_unicode.sql b/src/pl/plpython/sql/plpython_unicode.sql
index 6b9fac682a..bdd40c40a5 100644
--- a/src/pl/plpython/sql/plpython_unicode.sql
+++ b/src/pl/plpython/sql/plpython_unicode.sql
@@ -2,6 +2,8 @@
-- Unicode handling
--
+SET client_encoding TO UTF8;
+
CREATE TABLE unicode_test (
testvalue text NOT NULL
);