summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/README.mb.jp62
1 files changed, 50 insertions, 12 deletions
diff --git a/doc/README.mb.jp b/doc/README.mb.jp
index 4e800a7a9b..3241e7eb9b 100644
--- a/doc/README.mb.jp
+++ b/doc/README.mb.jp
@@ -1,4 +1,4 @@
-PostgreSQL 7.1 multi-byte (MB) support README 2001/2/15 $B:n@.(B
+PostgreSQL 7.2 multi-byte (MB) support README 2001/9/18 $B:n@.(B
$B@P0fC#IW(B
ishii@postgresql.org
@@ -11,14 +11,13 @@ PostgreSQL 7.1 multi-byte (MB) support README 2001/2/15 $B:n@.(B
1. $B%^%k%A%P%$%HJ8;z$H$7$F!$F|K\8l!$Cf9q8l$J$I$N3F9q$N(B EUC$B!$(BUnicode$B!$(B
mule internal code, ISO-8859-* $B$,%G!<%?%Y!<%9:n@.;~$KA*Br2DG=!%(B
$B%G!<%?%Y!<%9$K$O$3$N%3!<%I$N$^$^3JG<$5$l$^$9!%(B
- 2. $B%F!<%V%kL>$K%^%k%A%P%$%HJ8;z$,;HMQ2DG=(B($B$?$@$7!$(BOS $B$,%^%k%A%P%$%H(B
- $B$N%U%!%$%kL>$r5v$7$F$$$k$3$H$,I,MW(B)
+ 2. $B%F!<%V%kL>$K%^%k%A%P%$%HJ8;z$,;HMQ2DG=(B
3. $B%+%i%`L>$K%^%k%A%P%$%HJ8;z$,;HMQ2DG=(B
4. $B%G!<%?$=$N$b$N$K$b%^%k%A%P%$%HJ8;z$,;HMQ2DG=(B
5. $B%^%k%A%P%$%HJ8;z$N@55,I=8=8!:w$,;HMQ2DG=(B
6. $B%^%k%A%P%$%HJ8;z$N(B LIKE $B8!:w$,;HMQ2DG=(B
- 7. character_length(), position(), substring() $B$G$N%^%k%A%P%$%H(B
- $B%5%]!<%H(B
+ 7. character_length(), position(), substring() $B$J$I$NJ8;zNs4X?t$G(B
+ $B$N%^%k%A%P%$%H%5%]!<%H(B
8. $B%U%m%s%H%(%s%IB&$N%(%s%3!<%G%#%s%0$,%P%C%/%(%s%IB&$H0[$k>l9g$K!$(B
$B<+F0E*$K%3!<%IJQ49$r9T$J$$$^$9!%(B
@@ -30,11 +29,14 @@ PostgreSQL 7.1 multi-byte (MB) support README 2001/2/15 $B:n@.(B
$B$?$H$($PF|K\8l(B EUC $B$r<g$KMxMQ$9$k>l9g$O!$(Bconfigure $B5/F0;~$K0J2<$N$h(B
$B$&$K;XDj$7$^$9!%(B
- % ./configure --enable-multibyte=EUC_JP
+ $ ./configure --enable-multibyte=EUC_JP
- UNICODE$B$HB>$N%(%s%3!<%G%#%s%0$H$NAj8_JQ495!G=$rMxMQ$9$k>l9g$O!$99$K(B
- --enable-unicode-conversion $B%*%W%7%g%s$rDI2C$7$F$/$@$5$$(B(7.1$B0J9_$GMx(B
- $BMQ2DG=(B)$B!%(B
+ 7.1 $B$G$O!$(B--enable-unicode-conversion $B$r;XDj$7$J$$$H(B Unicode $B$H$=$l(B
+ $B0J30$N%(%s%3!<%G%#%s%0$N4V$NJQ49$,$G$-$^$;$s$G$7$?$,!$(B7.2 $B0J9_$G$OC1(B
+ $B$K(B --enable-multibyte $B$r;XDj$7$?$@$1$G<+F0E*$K(B
+ --enable-unicode-conversion $B$,M-8z$K$J$j$^$9!%$?$@$7!$(B
+ --enable-multibyte $B$r;XDj$7$J$,$i!$(B--enable-unicode-conversion $B$@$1(B
+ $B$rL58z$K$9$k$3$H$O$G$-$^$;$s!%(B
$B%(%s%3!<%G%#%s%0$H$7$F$O(B EUC_JP $B$NB>!$0J2<$,;XDj$G$-$^$9!%(B
@@ -135,6 +137,23 @@ $ psql -l
unicode | t-ishii | UNICODE
(9 rows)
+$B"#J8;z7?$N%G!<%?7?$K$D$$$F(B
+
+ 7.2$B$G$O!$(BCHAR(n)$B$H(BVARCHAR(n)$B$N(B n $B$OJ8;z?t$r0UL#$7$^$9!%(Bn $B$,%P%$%H?t$r(B
+ $B0UL#$9$k(B 7.1 $B0JA0$H$O0[$J$j$^$9$N$G$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j$^$9!%$=$N$?$a$NJ}K!$,$$$/$D$+$"$j$^(B
$B$9!%(B
@@ -236,6 +252,23 @@ o set client_encoding $B%3%^%s%I$r;H$&J}K!(B
$B$k$H$=$N%(%s%3!<%G%#%s%0$K!$$=$&$G$J$1$l$P%G!<%?%Y!<%9$N%(%s%3!<%G%#(B
$B%s%0$HF1$8$K$J$j$^$9!%(B
+$B"#L@<(E*$J%(%s%3!<%G%#%s%0JQ49(B
+
+ 7.2$B$G$O!$(Bconvert$B$H$$$&4X?t$r;H$$!$L@<(E*$J%(%s%3!<%G%#%s%0JQ49$,$G$-(B
+ $B$^$9!%(B
+
+ convert(string text, [src_encoding name,] dest_encoding name)
+
+ $B$3$3$G(Bsrc_encoding$B$O(Btext$B$N%(%s%3!<%G%#%s%0L>$G$9!%>JN,$9$k$H!$%G!<%?(B
+ $B%Y!<%9%(%s%3!<%G%#%s%0L>$HF1$8$G$"$k$H8+$J$5$l$^$9!%(Bdest_encoding$B$O!$(B
+ $BJQ498e$N%(%s%3!<%G%#%s%0L>$G$9!%(B
+
+ $BNc$r<($7$^$9!%(B
+
+ SELECT convert(text, EUC_JP) FROM unicode_tbl;
+
+ $B$O!$(BUnicode$B$N%F!<%V%k(Bunicode_tbl$B$N(Btext$BNs$r(BEUC_JP$B$KJQ49$7$FJV$7$^$9!%(B
+
$B"#%(%s%3!<%G%#%s%0JQ49ITG=$N>l9g$N=hM}(B
$B%P%C%/%(%s%IB&$N%(%s%3!<%G%#%s%0$H%U%m%s%H%(%s%IB&$N%(%s%3!<%G%#%s%0(B
@@ -560,6 +593,11 @@ SJIS $B$N%f!<%6Dj5A(B/$B%Y%s%@Dj5AJ8;zNN0h$r(B EUC $B$KJQ49$9$k:]!$H=JLIT(
$B2~DjMzNr!'(B
+ 2001/10/01
+ * CONVERT$B$NDI2C!%(Blpad/rpad/trim/btrim/ltrim/rtrim/translate$B$N(B
+ $B%^%k%A%P%$%HBP1~DI2C!%(Bchar/varchar$B$G%P%$%H?t$G$O$J$/!$J8;z?t(B
+ $B$G%5%$%:$rDj5A$9$k$h$&$KJQ99!%0J>e!$(B7.2$B$KH?1G$5$l$^$9!%(B
+
2001/2/15
* $BFA2H(B@$B;06(1?M"%5!<%S%9$5$s$+$i!$(BCP932.TXT$B$h$j@8@.$7$?(BSJIS$BMQ$N(B
$BJQ49%F!<%V%k$rDs6!$7$F$$$?$@$-$^$7$?!%(B7.1$B$KH?1G$5$l$^$9!%(B