Re: Nls sorting in Postgresql-8.3.3

From: Mathias Stjernström <mathias(at)globalinn(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Nls sorting in Postgresql-8.3.3
Date: 2008-08-02 10:39:19
Message-ID: 080FA0CC-6B2E-4B5E-985C-79C5FF624638@globalinn.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-performance

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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message giuseppe.derossi 2008-08-02 10:48:11 fuzzy search
Previous Message C K 2008-08-02 09:39:50 functions

Browse pgsql-performance by date

  From Date Subject
Next Message Fernando Ike 2008-08-03 23:51:40 Re: Database size Vs performance degradation
Previous Message Matthew Wakeling 2008-08-01 11:03:08 Re: Database size Vs performance degradation