Thread: Why is WIN 1250 client only?

Why is WIN 1250 client only?

From
Peter Eisentraut
Date:
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/



Re: Why is WIN 1250 client only?

From
Tom Lane
Date:
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
localein 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


Re: Why is WIN 1250 client only?

From
"Serguei Mokhov"
Date:
> 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


Re: Why is WIN 1250 client only?

From
Peter Eisentraut
Date:
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/


Re: Why is WIN 1250 client only?

From
Peter Eisentraut
Date:
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/