Stefan Sassenberg <stefan.sassenberg@gmx.de> writes:
> Is it a necessary restriction that the db encoding must match the
> lc_ctype?
If you set the LC_ variables to "C" you can get away with using
different encodings, but I wouldn't recommend it for any other locale
setting. Aside from the message translation issue, there are unpleasant
side effects for sorting and upper/lower case conversion.
regards, tom lane