]> granicus.if.org Git - postgresql/commitdiff
Doc: fix oversights in "Client/Server Character Set Conversions" table.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 1 Sep 2018 20:02:47 +0000 (16:02 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 1 Sep 2018 20:02:47 +0000 (16:02 -0400)
This table claimed that JOHAB could be used as a server encoding, which
was true originally but hasn't been true since 8.3.  It also lacked
entries for EUC_JIS_2004 and SHIFT_JIS_2004.

JOHAB problem noted by Lars Kanis, the others by me.

Discussion: https://postgr.es/m/c0f514a1-b7a9-b9ea-1c02-c34aead56c06@greiz-reinsdorf.de

doc/src/sgml/charset.sgml

index f8c7ac3b1694cdad624c9926a365d8d2860c3d00..15d17c4988ce009e5071cb4b700ed74c11712ccc 100644 (file)
@@ -1135,6 +1135,13 @@ $ <userinput>psql -l</userinput>
          <literal>UTF8</literal>
          </entry>
         </row>
+        <row>
+         <entry><literal>EUC_JIS_2004</literal></entry>
+         <entry><emphasis>EUC_JIS_2004</emphasis>,
+         <literal>SHIFT_JIS_2004</literal>,
+         <literal>UTF8</literal>
+         </entry>
+        </row>
         <row>
          <entry><literal>EUC_KR</literal></entry>
          <entry><emphasis>EUC_KR</emphasis>,
@@ -1190,8 +1197,7 @@ $ <userinput>psql -l</userinput>
         </row>
         <row>
          <entry><literal>JOHAB</literal></entry>
-         <entry><emphasis>JOHAB</emphasis>,
-         <literal>UTF8</literal>
+         <entry><emphasis>not supported as a server encoding</emphasis>
          </entry>
         </row>
         <row>
@@ -1297,6 +1303,11 @@ $ <userinput>psql -l</userinput>
          <entry><emphasis>not supported as a server encoding</emphasis>
          </entry>
         </row>
+        <row>
+         <entry><literal>SHIFT_JIS_2004</literal></entry>
+         <entry><emphasis>not supported as a server encoding</emphasis>
+         </entry>
+        </row>
         <row>
          <entry><literal>SQL_ASCII</literal></entry>
          <entry><emphasis>any (no conversion will be performed)</emphasis>