pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feedNls sorting in Postgresql-8.3.3
3+ messages / 3 participants
[nested] [flat]
* Nls sorting in Postgresql-8.3.3
@ 2008-08-01 08:35 Praveen <praveen.k@renaissance-it.com>
2008-08-01 08:43 ` Re: [PERFORM] Nls sorting in Postgresql-8.3.3 Richard Huxton <dev@archonet.com>
2008-08-02 10:39 ` Re: Nls sorting in Postgresql-8.3.3 Mathias Stjernström <mathias@globalinn.com>
0 siblings, 2 replies; 3+ messages in thread
From: Praveen @ 2008-08-01 08:35 UTC (permalink / raw)
To: pgsql-admin@postgresql.org; +Cc: pgsql-performance
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.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: [PERFORM] Nls sorting in Postgresql-8.3.3
2008-08-01 08:35 Nls sorting in Postgresql-8.3.3 Praveen <praveen.k@renaissance-it.com>
@ 2008-08-01 08:43 ` Richard Huxton <dev@archonet.com>
1 sibling, 0 replies; 3+ messages in thread
From: Richard Huxton @ 2008-08-01 08:43 UTC (permalink / raw)
To: Praveen <praveen.k@renaissance-it.com>; +Cc: pgsql-admin@postgresql.org; pgsql-performance
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.
What is "nls sort"? What do you expect --enable-nls to do? It looks like
it's for multi-language message display rather than sorting.
The locale options are already built-in.
--
Richard Huxton
Archonet Ltd
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Nls sorting in Postgresql-8.3.3
2008-08-01 08:35 Nls sorting in Postgresql-8.3.3 Praveen <praveen.k@renaissance-it.com>
@ 2008-08-02 10:39 ` Mathias Stjernström <mathias@globalinn.com>
1 sibling, 0 replies; 3+ messages in thread
From: Mathias Stjernström @ 2008-08-02 10:39 UTC (permalink / raw)
To: pgsql-admin@postgresql.org
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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2008-08-02 10:39 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-08-01 08:35 Nls sorting in Postgresql-8.3.3 Praveen <praveen.k@renaissance-it.com>
2008-08-01 08:43 ` Richard Huxton <dev@archonet.com>
2008-08-02 10:39 ` Mathias Stjernström <mathias@globalinn.com>
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