pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feedMULE_INTERNAL
2+ messages / 2 participants
[nested] [flat]
* MULE_INTERNAL
@ 2019-01-16 13:37 PG Doc comments form <noreply@postgresql.org>
2019-01-17 00:17 ` Re: MULE_INTERNAL Tatsuo Ishii <ishii@sraoss.co.jp>
0 siblings, 1 reply; 2+ messages in thread
From: PG Doc comments form @ 2019-01-16 13:37 UTC (permalink / raw)
To: pgsql-docs@lists.postgresql.org; +Cc: a.g.nienhuis@gmail.com
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/11/multibyte.html
Description:
The documentation says that UTF-8 can be converted to any encoding:
UTF8 all supported encodings
That's not true:
db => SET CLIENT_ENCODING TO 'MULE_INTERNAL';
ERROR: invalid value for parameter "client_encoding": "MULE_INTERNAL"
DETAIL: Conversion between MULE_INTERNAL and UTF8 is not supported.
Maybe MULE shouldn't be a supported encoding.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: MULE_INTERNAL
2019-01-16 13:37 MULE_INTERNAL PG Doc comments form <noreply@postgresql.org>
@ 2019-01-17 00:17 ` Tatsuo Ishii <ishii@sraoss.co.jp>
0 siblings, 0 replies; 2+ messages in thread
From: Tatsuo Ishii @ 2019-01-17 00:17 UTC (permalink / raw)
To: a.g.nienhuis@gmail.com; pgsql-docs@lists.postgresql.org; noreply@postgresql.org
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/11/multibyte.html
> Description:
>
> The documentation says that UTF-8 can be converted to any encoding:
>
> UTF8 all supported encodings
>
> That's not true:
>
> db => SET CLIENT_ENCODING TO 'MULE_INTERNAL';
> ERROR: invalid value for parameter "client_encoding": "MULE_INTERNAL"
> DETAIL: Conversion between MULE_INTERNAL and UTF8 is not supported.
>
> Maybe MULE shouldn't be a supported encoding.
One of the advantages of using MULE_INTERNAL as a database encoding
is, it allows a round trip conversion between encodings, plus speed
(unlike to/from UTF-8 conversion no table lookup is involved with
MULE_INTERNAL.)
On the other hand, UTF-8 does not allow round trip encoding
conversions for some encodings, which means you may loose some
information in your text data when you store it into a database.
Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2019-01-17 00:17 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-01-16 13:37 MULE_INTERNAL PG Doc comments form <noreply@postgresql.org>
2019-01-17 00:17 ` Tatsuo Ishii <ishii@sraoss.co.jp>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox