From: Mathias Stjernström <mathias@globalinn.com>
To: pgsql-admin@postgresql.org
Subject: Re: Nls sorting in Postgresql-8.3.3
Date: Sat, 2 Aug 2008 12:39:19 +0200
Message-ID: <080FA0CC-6B2E-4B5E-985C-79C5FF624638@globalinn.com> (raw)
In-Reply-To: <02cb01c8f3b1$83e51ad0$274610ac@praveenkm>
References: <02cb01c8f3b1$83e51ad0$274610ac@praveenkm>
Hi!
NLS stands for "Native Language Support" and it's used for display
error/information messages in different languages.
For sorting data you need to look at LC_COLLATE (http://www.postgresql.org/docs/8.3/interactive/locale.html
)
You also need to check that you operation system support collation for
your charset/encoding as PostgreSQL relies on the underling operation-
systems collation support. FreeBSD for example does not support UTF-8
collation. On FreeBSD you need the supplied ICU (http://www.icu-project.org/
) patch supplied by portage to get working UTF-8 collation.
Best regards,
Mathias Stjernstrom
--------------------------------------
http://www.globalinn.com/
On 1 aug 2008, at 10.35, Praveen wrote:
> Hello,
> I installed postgresql-8.3.3 in our local server with option --
> enable-nls . After successful installion , I create database and
> import data.But I am not aware how to use nls sort in this
> postgresql-8.3.3 .
> Please tell me syntax how to use nls sort in query , if some one
> know.
> Thanks in advance.
> Praveen Malik.
Attachments:
PGP.sig (application/pgp-signature, 485B) download
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-admin@postgresql.org
Cc: mathias@globalinn.com
Subject: Re: Nls sorting in Postgresql-8.3.3
In-Reply-To: <080FA0CC-6B2E-4B5E-985C-79C5FF624638@globalinn.com>
References: <02cb01c8f3b1$83e51ad0$274610ac@praveenkm> <080FA0CC-6B2E-4B5E-985C-79C5FF624638@globalinn.com>
* 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