Re: sort order for UTF-8 char column with Japanese UTF-8 - Mailing list pgsql-general

From Tom Lane
Subject Re: sort order for UTF-8 char column with Japanese UTF-8
Date
Msg-id 253777.1643900437@sss.pgh.pa.us
Whole thread Raw
In response to Re: sort order for UTF-8 char column with Japanese UTF-8  (Matthias Apitz <guru@unixarea.de>)
Responses Re: sort order for UTF-8 char column with Japanese UTF-8  (Matthias Apitz <guru@unixarea.de>)
Re: sort order for UTF-8 char column with Japanese UTF-8  (Matthias Apitz <guru@unixarea.de>)
List pgsql-general
Matthias Apitz <guru@unixarea.de> writes:
> El día jueves, febrero 03, 2022 a las 11:14:55 +0100, Matthias Apitz escribió:
>> With ESQL/C on a PostgreSQL 13.1 server I see the result of this query:
>> select katkey,normform from swd_anzeige where normform >= 'A' ORDER BY ASC;
>> coming out in this order:
>> ...
>> I loaded the same table in my server, but can't get the same order with
>> psql:

Do the two machines produce the same results if you sort the data in
question with sort(1)?  (Being careful to set LANG=de_DE.UTF-8 of
course.)  I rather doubt this has anything to do with Postgres as such;
there are lots of inter-system and inter-release discrepancies in
collation behavior.

            regards, tom lane



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: max_connections different between primary and standby: is it possible?
Next
From: Laurenz Albe
Date:
Subject: Re: Oracle to postgresql migration