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

Commita7ad43c

Browse files
committed
Included patches make some enhancements to the multi-byte support.
o allow to use Big5 (a Chinese encoding used in Taiwan) as a client encoding. In this case the server side encoding should be EUC_TWo add EUC_TW and Big5 test cases to the regression and the mb test (contributed by Jonah Kuo)o fix mistake in include/mb/pg_wchar.h. An encoding id for EUC_TW was not correct (was 3 and now is 4)o update documents (doc/README.mb and README.mb.jp)o update psql helpfile (bin/psql/psqlHelp.h)--Tatsuo Ishiit-ishii@sra.co.jp
1 parent8358a8f commita7ad43c

File tree

13 files changed

+605
-19
lines changed

13 files changed

+605
-19
lines changed

‎doc/README.mb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
postgresql 6.4 multi-byte (MB) support READMEDec 16 1998
1+
postgresql 6.5 multi-byte (MB) support READMEJan 26 1999
22

33
Tatsuo Ishii
44
t-ishii@sra.co.jp
@@ -113,6 +113,7 @@ Supported encodings for PGCLIENTENCODING are:
113113
EUC_CNChinese EUC
114114
EUC_KRKorean EUC
115115
EUC_TWTaiwan EUC
116+
BIG5Traditional chinese
116117
MULE_INTERNALMule internal
117118
LATIN1ISO 8859-1 English and some European languages
118119
LATIN2ISO 8859-2 English and some European languages
@@ -169,6 +170,12 @@ Unicode: http://www.unicode.org/
169170

170171
5. History
171172

173+
Jan 26, 1999
174+
* Add support Big5 for fronend encoding
175+
(you need to create a database with EUC_TW to use Big5)
176+
* Add regression test case for EUC_TW
177+
(contributed by Jonah Kuo <jonahkuo@mail.ttn.com.tw>)
178+
172179
Dec 15, 1998
173180
* Bugs related to SQL_ASCII support fixed
174181

‎doc/README.mb.jp

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
postgresql 6.4 multi-byte (MB) support README1998/12/16 $B:n@.(B
1+
postgresql 6.5 multi-byte (MB) support README1999/1/26 $B:n@.(B
22

33
$B@P0fC#IW(B
44
t-ishii@sra.co.jp
@@ -130,7 +130,7 @@ initdb/createdb/create database $B$K$*$1$k%(%s%3!<%G%#%s%0$N;XDj$K$D$$$F(B
130130

131131
$B4D6-JQ?t(B PGCLIENTENCODING $B$,@_Dj$5$l$F$$$k>l9g$O$=$NCM$,M%@h$5$l!"%P%C(B
132132
$B%/%(%s%IB&$H0[$J$k%(%s%3!<%G%#%s%0$,;HMQ$G$-$^$9!#@_Dj2DG=$J%(%s%3!<(B
133-
$B%G%#%s%0$O!">e5-$K2C$(!"(BSJIS ($B%7%U%H(BJIS)$B$,;XDj$G$-$^$9!#(B
133+
$B%G%#%s%0$O!">e5-$K2C$(!"(BSJIS ($B%7%U%H(BJIS)$B$H(B BiG5 $B$,;XDj$G$-$^$9!#(B
134134

135135
$B$A$J$_$K!"(BSJIS $B$O(B JISX0201 $B$N(B 1$B%P%$%H%+%J!"$$$o$f$k!VH>3Q%+%?(B
136136
$B%+%J!W$b%5%]!<%H$7$F$$$^$9(B($B7h$7$F!VH>3Q%+%?%+%J!W$N;HMQ$r$*4+(B
@@ -206,6 +206,13 @@ initdb/createdb/create database $B$K$*$1$k%(%s%3!<%G%#%s%0$N;XDj$K$D$$$F(B
206206

207207
$B2~DjMzNr!'(B
208208

209+
1999/1/26 Big5 $B%5%]!<%HDI2C(B
210+
* Big5 $B$,%U%m%s%H%(%s%IB&$N%(%s%3!<%G%#%s%0$H$7$FMxMQ$G$-$k$h(B
211+
$B$&$K$J$j$^$7$?!#$3$N>l9g!"%P%C%/%(%s%IB&$N%(%s%3!<%G%#%s%0$O(B
212+
EUC_TW $B$^$?$O(B MULE_INTERNAL $B$H$7$^$9!#(B
213+
* EUC_TW $B$N(B regression test $B%1!<%9$rDI2C(B
214+
(contributed by Jonah Kuo <jonahkuo@mail.ttn.com.tw>)
215+
209216
1998/12/16 $BK\%I%-%e%a%s%H=$@5!#(B
210217
* Makefile.custom $B$G(B MB=EUC_JP $B$J$I$H@_Dj$9$kJ}K!$O(B 6.4 $B0J9_(B
211218
$B%5%]!<%H$5$l$F$$$J$$$N$G:o=|$7$?!#(B

‎src/backend/utils/mb/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for utils/mb
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/utils/mb/Makefile,v 1.2 1998/07/26 04:31:03 scrappy Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/utils/mb/Makefile,v 1.3 1999/02/02 18:51:21 momjian Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -16,7 +16,8 @@ ifdef MULTIBYTE
1616
CFLAGS+=$(MBFLAGS)
1717
endif
1818

19-
OBJS = common.o conv.o mbutils.o wchar.o wstrcmp.o wstrncmp.o variable.o
19+
OBJS = common.o conv.o mbutils.o wchar.o wstrcmp.o wstrncmp.o variable.o\
20+
big5.o
2021

2122
all: SUBSYS.o
2223

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp