Re: [HACKERS] WIN1250 as server encoding

2004-09-15 Thread Peter Eisentraut
Tom Lane wrote: > AFAIR, the only place where these numbers are stored is in > pg_database.datencoding, so only the server-encoding values are > frozen in any meaningful sense. You could rearrange the numbers > currently assigned to client encodings to preserve the range > property. Interesting.

Re: [HACKERS] WIN1250 as server encoding

2004-09-15 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > Some people have requested to add WIN1250 as an allowed server encoding. > So far, the order of the encoding numbers determined which ones were > client-only, so in order not to renumber the encodings, I could only > come up with the attached ugly

Re: [HACKERS] WIN1250 as server encoding

2004-09-15 Thread Jeroen T. Vermeulen
On Wed, Sep 15, 2004 at 05:02:44PM +0200, Peter Eisentraut wrote: > Some people have requested to add WIN1250 as an allowed server encoding. > So far, the order of the encoding numbers determined which ones were > client-only, so in order not to renumber the encodings, I could only > come up wi

[HACKERS] WIN1250 as server encoding

2004-09-15 Thread Peter Eisentraut
Some people have requested to add WIN1250 as an allowed server encoding. So far, the order of the encoding numbers determined which ones were client-only, so in order not to renumber the encodings, I could only come up with the attached ugly solution. If no one thinks of a better one, we'll g