diff options
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/charset.sgml | 6 | ||||
-rw-r--r-- | doc/src/sgml/func.sgml | 24 | ||||
-rw-r--r-- | doc/src/sgml/ref/create_conversion.sgml | 22 |
3 files changed, 21 insertions, 31 deletions
diff --git a/doc/src/sgml/charset.sgml b/doc/src/sgml/charset.sgml index a2a46c6ab3a..29fe33a9539 100644 --- a/doc/src/sgml/charset.sgml +++ b/doc/src/sgml/charset.sgml @@ -1896,7 +1896,11 @@ RESET client_encoding; <para> If the client character set is defined as <literal>SQL_ASCII</literal>, encoding conversion is disabled, regardless of the server's character - set. Just as for the server, use of <literal>SQL_ASCII</literal> is unwise + set. (However, if the server's character set is + not <literal>SQL_ASCII</literal>, the server will still check that + incoming data is valid for that encoding; so the net effect is as + though the client character set were the same as the server's.) + Just as for the server, use of <literal>SQL_ASCII</literal> is unwise unless you are working with all-ASCII data. </para> </sect2> diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 47cefd8020f..eeb3c46316a 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -2497,18 +2497,6 @@ <tbody> <row> - <entry><literal>ascii_to_mic</literal></entry> - <entry><literal>SQL_ASCII</literal></entry> - <entry><literal>MULE_INTERNAL</literal></entry> - </row> - - <row> - <entry><literal>ascii_to_utf8</literal></entry> - <entry><literal>SQL_ASCII</literal></entry> - <entry><literal>UTF8</literal></entry> - </row> - - <row> <entry><literal>big5_to_euc_tw</literal></entry> <entry><literal>BIG5</literal></entry> <entry><literal>EUC_TW</literal></entry> @@ -2779,12 +2767,6 @@ </row> <row> - <entry><literal>mic_to_ascii</literal></entry> - <entry><literal>MULE_INTERNAL</literal></entry> - <entry><literal>SQL_ASCII</literal></entry> - </row> - - <row> <entry><literal>mic_to_big5</literal></entry> <entry><literal>MULE_INTERNAL</literal></entry> <entry><literal>BIG5</literal></entry> @@ -2905,12 +2887,6 @@ </row> <row> - <entry><literal>utf8_to_ascii</literal></entry> - <entry><literal>UTF8</literal></entry> - <entry><literal>SQL_ASCII</literal></entry> - </row> - - <row> <entry><literal>utf8_to_big5</literal></entry> <entry><literal>UTF8</literal></entry> <entry><literal>BIG5</literal></entry> diff --git a/doc/src/sgml/ref/create_conversion.sgml b/doc/src/sgml/ref/create_conversion.sgml index 4ddbcfacef2..67b4bd26bed 100644 --- a/doc/src/sgml/ref/create_conversion.sgml +++ b/doc/src/sgml/ref/create_conversion.sgml @@ -28,12 +28,15 @@ CREATE [ DEFAULT ] CONVERSION <replaceable>name</replaceable> <para> <command>CREATE CONVERSION</command> defines a new conversion between - character set encodings. Also, conversions that - are marked <literal>DEFAULT</literal> can be used for automatic encoding - conversion between - client and server. For this purpose, two conversions, from encoding A to - B <emphasis>and</emphasis> from encoding B to A, must be defined. - </para> + two character set encodings. + </para> + + <para> + Conversions that are marked <literal>DEFAULT</literal> can be used for + automatic encoding conversion between client and server. To support that + usage, two conversions, from encoding A to B <emphasis>and</emphasis> + from encoding B to A, must be defined. + </para> <para> To be able to create a conversion, you must have <literal>EXECUTE</literal> privilege @@ -123,6 +126,13 @@ conv_proc( <title>Notes</title> <para> + Neither the source nor the destination encoding can + be <literal>SQL_ASCII</literal>, as the server's behavior for cases + involving the <literal>SQL_ASCII</literal> <quote>encoding</quote> is + hard-wired. + </para> + + <para> Use <command>DROP CONVERSION</command> to remove user-defined conversions. </para> |