Re: BUG #5135: sorting order

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Savita" <savita(dot)halli(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5135: sorting order
Date: 2009-10-22 15:40:21
Message-ID: 1097.1256226021@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Savita" <savita(dot)halli(at)gmail(dot)com> writes:
> I would like to know if there is anyway we can get the same sorting order
> irreespective of lc_collate value when doing the select query.

You could do "ORDER BY col USING ~<~", but on the whole it's really
better to set LC_COLLATE the way you want.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2009-10-22 15:59:30 Re: BUG #5126: convert_to preventing index scan
Previous Message Tom Lane 2009-10-22 15:28:33 Re: BUG #5134: initdb fails with return code 1