bug in 7.4

Started by Alexandr Sover 22 years ago2 messagesgeneral
Jump to latest
#1Alexandr S
sasha@in.crimea.ua

There is little bug in postgresql 7.4.
CREATE DATABASE my_db
WITH ENCODING = 'UNICODE';
CREATE TABLE mytable
(
my_column varchar NOT NULL,
CONSTRAINT primary_mytable PRIMARY KEY (my_column)
) WITHOUT OIDS;
Data in mytable doesn t order in alphabetical russian order (select
... ORDER BY my_column). (For example, result is 'BMLAT' but must be
'ABLMT' - for russian letters, of course).
For db in KOI8 encoding - all looks right.

#2Bruce Momjian
bruce@momjian.us
In reply to: Alexandr S (#1)
Re: bug in 7.4

Alexander S <sasha@in.crimea.ua> writes:

Data in mytable doesn t order in alphabetical russian order

It won't order in russian order unless the database was initdb'd with a
russian locale.

For db in KOI8 encoding - all looks right.

The encoding is irrelevant.

--
greg