| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | nikybolzo <nikybolzo(at)yahoo(dot)it> |
| Cc: | pgsql-novice(at)postgresql(dot)org |
| Subject: | Re: collation from an external file |
| Date: | 2014-07-08 14:04:36 |
| Message-ID: | 6472.1404828276@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-novice |
nikybolzo <nikybolzo(at)yahoo(dot)it> writes:
> I'm new of the world postgresql, so please help me. I can't understand how
> to define a new collation from an external file. I have a DB and i have to
> define a new collection for all the column so i try to use:
> CREATE COLLATION mycollation FROM "it-IT"
> but i don't know how to add my cases of preferences ( preferences example:
> b B, c C,d D,e E, )
That's not really our department: Postgres just uses the operating
system's locale support for collations. You'd need to read up on
your system's facilities for creating locale definitions. On Linux,
"man localedef" would be a starting point; dunno about other systems.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Magnus Persson | 2014-07-09 20:24:31 | How to practice on EXPLAIN/optimizing queries/constructing indices |
| Previous Message | nikybolzo | 2014-07-08 09:50:17 | collation from an external file |