From: | "Abraham, Danny" <danny_abraham(at)bmc(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: sort order |
Date: | 2011-12-12 16:16:31 |
Message-ID: | 2C0926ABD16BB641A8E2F11A5492004229B72CA742@PHXCCRPRD01.adprod.bmc.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Thanks a lot.
Worked fine with .....
CREATE DATABASE danny
Template template0
LC_CTYPE = 'C'
LC_COLLATE = 'C';
-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Monday, December 12, 2011 6:07 PM
To: Abraham, Danny
Cc: Adrian Klaver; pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] sort order
"Abraham, Danny" <danny_abraham(at)bmc(dot)com> writes:
> This is exactly what I am trying to do -
> To find a CREATE DATABASE statement that will produce a database that has a binary sorting.
Setting its LC_COLLATE to "C" ought to do that.
BTW, as of 9.1 you can control this at finer granularity than database
level, see the COLLATE clause.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Sogard, Michael (DPS) | 2011-12-12 16:18:47 | Re: Having Issue Getting the Postgresql Service to Start |
Previous Message | Adrian Klaver | 2011-12-12 16:09:11 | Re: sort order |