Why is WIN 1250 client only?

Started by Peter Eisentrautover 21 years ago5 messages
#1Peter Eisentraut
peter_e@gmx.net

Why is the encoding WIN 1250 only for the client side? It seems that
with the new Windows port, folks will be interested in using it on the
server side.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Peter Eisentraut (#1)
Re: Why is WIN 1250 client only?

Peter Eisentraut <peter_e@gmx.net> writes:

Why is the encoding WIN 1250 only for the client side? It seems that
with the new Windows port, folks will be interested in using it on the
server side.

I can't see any technical reason why not. But I find this in
doc/README.mb.jp:

- Never try to set-up server multibyte database encoding to WIN1250,
always use LATIN2 instead. There is not WIN1250 locale in Unix

It is hard to tell whether the person who added the encoding simply
didn't understand the significance of where he put it in the list,
or whether he did know what he was doing and thought it was a good
idea to forcibly prevent people from using it as a server encoding.

At least on Windows it would clearly be a good idea to allow it as
a server encoding. Perhaps we can rely on your recently added
encoding checks in initdb to prevent people from making the wrong
choice on platforms that don't support the encoding?

regards, tom lane

#3Serguei Mokhov
mokhov@cs.concordia.ca
In reply to: Tom Lane (#2)
Re: Why is WIN 1250 client only?

Date: Tue, 10 Aug 2004 21:30:23 +0200
From: Peter Eisentraut <peter_e@gmx.net>

Why is the encoding WIN 1250 only for the client side? It seems that
with the new Windows port, folks will be interested in using it on the
server side.

Then what about WIN1251 (Cyrillic)? :) And all the others for that matter?

-s

#4Peter Eisentraut
peter_e@gmx.net
In reply to: Serguei Mokhov (#3)
Re: Why is WIN 1250 client only?

Am Mittwoch, 11. August 2004 07:04 schrieb Serguei Mokhov:

Date: Tue, 10 Aug 2004 21:30:23 +0200
From: Peter Eisentraut <peter_e@gmx.net>

Why is the encoding WIN 1250 only for the client side? It seems that
with the new Windows port, folks will be interested in using it on the
server side.

Then what about WIN1251 (Cyrillic)? :) And all the others for that matter?

WIN 1251 is already allowed as server-side encoding, which indicates to me
that this distinction is potentially ill-conceived.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

#5Peter Eisentraut
peter_e@gmx.net
In reply to: Peter Eisentraut (#1)
Re: Why is WIN 1250 client only?

Peter Eisentraut wrote:

Why is the encoding WIN 1250 only for the client side? It seems that
with the new Windows port, folks will be interested in using it on
the server side.

Last call or I will move WIN 1250 to the server side encoding list. The
bugs are already coming in.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/