From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> |
Cc: | Sandor(dot)Vig(at)audi(dot)hu, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: Vá: [BUGS] Bug #519: Bug in order by clausule |
Date: | 2001-11-26 22:21:34 |
Message-ID: | 15438.1006813294@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> writes:
> As a note, using a test program with LC_COLLATE=hu_HU, I get the
> following strcoll values. ( I'm sort of assuming that hu_HU would
> be the default setting for Hungary ;) )
On HPUX 10.20, I get these results:
$ cat hudata
00000000000000CP
00000000000000CQ
00000000000000CR
00000000000000CT
00000000000000CU
00000000000000CV
00000000000000CW
00000000000000CX
00000000000000CY
00000000000000CS
00000000000000CZ
00000000000000D0
00000000000000D1
00000000000000D2
00000000000000D3
$ LANG='C' sort hudata
00000000000000CP
00000000000000CQ
00000000000000CR
00000000000000CS
00000000000000CT
00000000000000CU
00000000000000CV
00000000000000CW
00000000000000CX
00000000000000CY
00000000000000CZ
00000000000000D0
00000000000000D1
00000000000000D2
00000000000000D3
$ LANG='hu_HU.iso88592' sort hudata
00000000000000CP
00000000000000CQ
00000000000000CR
00000000000000CT
00000000000000CU
00000000000000CV
00000000000000CW
00000000000000CX
00000000000000CY
00000000000000CZ
00000000000000CS
00000000000000D0
00000000000000D1
00000000000000D2
00000000000000D3
(HPUX is picky about locale names... 'hu_HU' doesn't work...)
This doesn't seem to entirely square with the results you two get,
but it sure does look like "CS" sorts in non-ASCII order in HU locale.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-11-26 22:57:28 | Re: pg_restore --data-only ignored |
Previous Message | Tom Lane | 2001-11-26 22:16:15 | Re: Bug #521: Backup - Restore Problem in VIEWs |