From f58e93c048321ca153b0cd9d5faf67bd04dc747c Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Thu, 11 Sep 2008 11:02:57 +0000 Subject: [PATCH] refresh expected file --- expected/plproxy_encoding.out | 54 +++++++++++++++++++++++------------ 1 file changed, 35 insertions(+), 19 deletions(-) diff --git a/expected/plproxy_encoding.out b/expected/plproxy_encoding.out index 564b3a1..ae88599 100644 --- a/expected/plproxy_encoding.out +++ b/expected/plproxy_encoding.out @@ -36,10 +36,11 @@ end; $$ language plpgsql; set client_encoding = 'utf8'; create table intl_data (id int4, "コラム" text); insert into intl_data values (1, 'リモートデータ'); +set client_encoding = 'sjis'; select * from intl_data order by 1; - id | コラム + id | ƒRƒ‰ƒ€ ----+---------------- - 1 | リモートデータ + 1 | ƒŠƒ‚[ƒgƒf[ƒ^ (1 row) set client_encoding = 'euc_jp'; @@ -49,6 +50,13 @@ select * from intl_data order by 1; 1 | ¥ê¥â¡¼¥È¥Ç¡¼¥¿ (1 row) +set client_encoding = 'utf-8'; +select * from intl_data order by 1; + id | コラム +----+---------------- + 1 | リモートデータ +(1 row) + -- test \c test_enc_proxy set client_encoding = 'utf8'; @@ -56,6 +64,13 @@ create table intl_data (id int4, "コラム" text); create function test_encoding() returns setof intl_data as $$ cluster 'testcluster'; run on 0; select * from intl_data order by 1; $$ language plproxy; +set client_encoding = 'sjis'; +select * from test_encoding(); + id | ƒRƒ‰ƒ€ +----+---------------- + 1 | ƒŠƒ‚[ƒgƒf[ƒ^ +(1 row) + set client_encoding = 'euc_jp'; select * from test_encoding(); id | ¥³¥é¥à @@ -70,13 +85,6 @@ select * from test_encoding(); 1 | リモートデータ (1 row) -set client_encoding = 'sjis'; -select * from test_encoding(); - id | ƒRƒ‰ƒ€ -----+---------------- - 1 | ƒŠƒ‚[ƒgƒf[ƒ^ -(1 row) - \c template1 set client_min_messages = 'warning'; drop database if exists test_enc_proxy; @@ -106,10 +114,11 @@ end; $$ language plpgsql; set client_encoding = 'utf8'; create table intl_data (id int4, "コラム" text); insert into intl_data values (1, 'リモートデータ'); +set client_encoding = 'sjis'; select * from intl_data order by 1; - id | コラム + id | ƒRƒ‰ƒ€ ----+---------------- - 1 | リモートデータ + 1 | ƒŠƒ‚[ƒgƒf[ƒ^ (1 row) set client_encoding = 'euc_jp'; @@ -119,6 +128,13 @@ select * from intl_data order by 1; 1 | ¥ê¥â¡¼¥È¥Ç¡¼¥¿ (1 row) +set client_encoding = 'utf-8'; +select * from intl_data order by 1; + id | コラム +----+---------------- + 1 | リモートデータ +(1 row) + -- test \c test_enc_proxy set client_encoding = 'utf8'; @@ -126,6 +142,13 @@ create table intl_data (id int4, "コラム" text); create function test_encoding() returns setof intl_data as $$ cluster 'testcluster'; run on 0; select * from intl_data order by 1; $$ language plproxy; +set client_encoding = 'sjis'; +select * from test_encoding(); + id | ƒRƒ‰ƒ€ +----+---------------- + 1 | ƒŠƒ‚[ƒgƒf[ƒ^ +(1 row) + set client_encoding = 'euc_jp'; select * from test_encoding(); id | ¥³¥é¥à @@ -133,17 +156,10 @@ select * from test_encoding(); 1 | ¥ê¥â¡¼¥È¥Ç¡¼¥¿ (1 row) -set client_encoding = 'utf8'; +set client_encoding = 'utf-8'; select * from test_encoding(); id | コラム ----+---------------- 1 | リモートデータ (1 row) -set client_encoding = 'sjis'; -select * from test_encoding(); - id | ƒRƒ‰ƒ€ -----+---------------- - 1 | ƒŠƒ‚[ƒgƒf[ƒ^ -(1 row) - -- 2.39.5