pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adam PAPAI <adam.papai@bsdsupportservice.hu>
To: pgsql-bugs@postgresql.org
Subject: Re: sort order (ORDER BY) hu_HU.UTF-8 locale with UTF-8 encoding is not working correctly on FreeBSD
Date: Sun, 06 Feb 2011 11:30:10 +0100
Message-ID: <4D4E7832.4050400@bsdsupportservice.hu> (raw)
In-Reply-To: <4D4E76BD.5060706@bsdsupportservice.hu>
References: <4D4E76BD.5060706@bsdsupportservice.hu>

Adam PAPAI wrote:

The correct encoding of the values are:

INSERT INTO test (name)  values ( 'a' );
INSERT INTO test (name)  values ( 'á' );
INSERT INTO test (name)  values ( 'b' );
INSERT INTO test (name)  values ( 'c' );
INSERT INTO test (name)  values ( 'd' );
INSERT INTO test (name)  values ( 'e' );
INSERT INTO test (name)  values ( 'é' );
INSERT INTO test (name)  values ( 'f' );
INSERT INTO test (name)  values ( 'g' );
INSERT INTO test (name)  values ( 'h' );

I forgot to change the encoding of my mail client.

test=# select * from test order by name asc;
 idn | name
-----+------
   1 | a
   3 | b
   4 | c
   5 | d
   6 | e
   8 | f
   9 | g
  10 | h
   2 | á
   7 | é
(10 rows)


-- 
Adam PAPAI
BSD Support Service
http://www.bsdsupportservice.hu
E-mail: adam.papai@bsdsupportservice.hu
Phone: +36 30 33-55-735 (Hungary)



view thread (6+ messages)  latest in thread

Message-ID: <4D4E7832.4050400@bsdsupportservice.hu>
Permalink:  ../4D4E7832.4050400@bsdsupportservice.hu/
Also on:    postgresql.org/message-id/4D4E7832.4050400@bsdsupportservice.hu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: adam.papai@bsdsupportservice.hu
  Subject: Re: sort order (ORDER BY) hu_HU.UTF-8 locale with UTF-8 encoding is not working correctly on FreeBSD
  In-Reply-To: <4D4E7832.4050400@bsdsupportservice.hu>
  References: <4D4E76BD.5060706@bsdsupportservice.hu> <4D4E7832.4050400@bsdsupportservice.hu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox