Re: Re: [hackers-jp: 219] Re: postgresql-8.1.4文字セットサポート - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Re: [hackers-jp: 219] Re: postgresql-8.1.4文字セットサポート
Date
Msg-id 20177.1154095797@sss.pgh.pa.us
Whole thread Raw
In response to Re: [hackers-jp: 219] Re: postgresql-8.1.4文字セットサポート  (Michael Glaesemann <grzm@seespotcode.net>)
List pgsql-hackers
Michael Glaesemann <grzm@seespotcode.net> writes:
> Just to confirm, it does look like there's a discrepancy between what
> is in the documentation and the actual behavior of the server. The
> documentation indicates that SJIS is a valid server encoding:

This is a documentation error --- SJIS is certainly not a valid server
encoding (it's not 8-bit-safe).  Will fix --- thanks for pointing it out.

> createdb: database creation failed: ERROR:  SJIS is not a valid
> encoding name

I wonder if it would be worth changing the code so that you get a
complaint saying the encoding is known but not allowed on the server
side.  It hasn't come up before, so maybe it's not worth the trouble
... but this message seems a bit confusing.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: Re: [hackers-jp: 219] Re: postgresql-8.1.4文字セットサポート
Next
From: Tom Lane
Date:
Subject: Re: GUC with units, details