refresh expected file
authorMarko Kreen <markokr@gmail.com>
Thu, 11 Sep 2008 11:02:57 +0000 (11:02 +0000)
committerMarko Kreen <markokr@gmail.com>
Thu, 11 Sep 2008 11:02:57 +0000 (11:02 +0000)
expected/plproxy_encoding.out

index 564b3a153eb9a5aba45adde9d3a7846e3b9cfa57..ae8859994d0eabe45c0872567ef9b8c9230fa89a 100644 (file)
@@ -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 |     \83R\83\89\83\80     
 ----+----------------
-  1 | リモートデータ
+  1 | \83\8a\83\82\81[\83g\83f\81[\83^
 (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 |     \83R\83\89\83\80     
+----+----------------
+  1 | \83\8a\83\82\81[\83g\83f\81[\83^
+(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 |     \83R\83\89\83\80     
-----+----------------
-  1 | \83\8a\83\82\81[\83g\83f\81[\83^
-(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 |     \83R\83\89\83\80     
 ----+----------------
-  1 | リモートデータ
+  1 | \83\8a\83\82\81[\83g\83f\81[\83^
 (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 |     \83R\83\89\83\80     
+----+----------------
+  1 | \83\8a\83\82\81[\83g\83f\81[\83^
+(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 |     \83R\83\89\83\80     
-----+----------------
-  1 | \83\8a\83\82\81[\83g\83f\81[\83^
-(1 row)
-