Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5809a64

Browse files
committed
Set client encoding explicitly in plpython_unicode test
This will (hopefully) eliminate the need for theplpython_unicode_0.out expected file.
1 parent4b6106c commit5809a64

File tree

5 files changed

+5
-52
lines changed

5 files changed

+5
-52
lines changed

‎src/pl/plpython/expected/README

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ Guide to alternative expected files:
22

33
plpython_error_0.outPython 2.4 and older
44

5-
plpython_unicode.outserver encoding != SQL_ASCII and client encoding == UTF8; else ...
6-
plpython_unicode_0.outserver encoding != SQL_ASCII and client encoding != UTF8; else ...
5+
plpython_unicode.outserver encoding != SQL_ASCII
76
plpython_unicode_3.outserver encoding == SQL_ASCII
87

98
plpython_subtransaction_0.outPython 2.4 and older (without with statement)

‎src/pl/plpython/expected/plpython_unicode.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
--
22
-- Unicode handling
33
--
4+
SET client_encoding TO UTF8;
45
CREATE TABLE unicode_test (
56
testvalue text NOT NULL
67
);

‎src/pl/plpython/expected/plpython_unicode_0.out

Lines changed: 0 additions & 50 deletions
This file was deleted.

‎src/pl/plpython/expected/plpython_unicode_3.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
--
22
-- Unicode handling
33
--
4+
SET client_encoding TO UTF8;
45
CREATE TABLE unicode_test (
56
testvalue text NOT NULL
67
);

‎src/pl/plpython/sql/plpython_unicode.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
-- Unicode handling
33
--
44

5+
SET client_encoding TO UTF8;
6+
57
CREATETABLEunicode_test (
68
testvaluetextNOT NULL
79
);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp