Re: [GENERAL] Czech Win1250 sorting q

1999-12-12 Thread David Sauer
ent_encoding to 'latin2'; SET VARIABLE Robert> Hmm, what did you say I should write? Well, this is PG6.5.2 Robert> installed from RPM, should it be compiled with some special Robert> option? Thanks. Yes, postgres must be compiled with --enable-locale and --with-mb=LA

Re: [GENERAL] Czech Win1250 sorting q

1999-12-11 Thread David Sauer
Robert> - Robert Just do: set client encoding to 'WIN1250'; Server will store its data in iso-8859-2, but will recode input and output for windoze clients. The reason is, that postgres database server uses locales to sort tables and there is no 'cs_CZ.WIN-1250'

[GENERAL] Setting of locales at runtime ?

1999-12-09 Thread David Sauer
// and use czech locale set locale es; select * from table2 order by 2; // this will sort using spanish locale thanks, David -- * David Sauer, student of Czech Technical University