tgl (AT) sss (DOT) pgh.pa.us wrote:
Erwin Brandstetter <brandstetter (AT) falter (DOT) atwrites:
>Wait not that great! The system locale is more or less ignored, but
>my sort order will approach randomness?
>
>
Peter's point is that a given locale setting will expect a particular
encoding, and if you try to use a different encoding then your sort
ordering will be wrong. Not "random" exactly, but not what you want.
Sorry, maybe I am slow in the head. Are you referring to the system
locale of the client S?
My question was aiming at the database server S. (Maybe I have not been
clear enough myself.)
Example:
Postgresql 'de_AT.UTF-8@euro'
Server S: (Debian Sarge) set system locale 'C' (locale
'de_AT.UTF-8@euro' is installed, too)
PHP5, Apache.
Client: Browser (Mozilla Firefox in our case) on various Ss (Mac, Win,
Linux), set to work with UNICDE data.
Would the system locale of the _server_ S mess with the sort order? (
with anything at all?)
Any sorting done on the client would be based on the _client_ S system
locale, but that is a different question
Regards
Erwin Brandstetter
(end of broadcast)
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match