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