Re: locale

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: locale
Date: 2004-04-07 17:52:57
Message-ID: 40743FF9.1090708@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:

>Dennis Bjorklund wrote:
>
>
>>Is anyone working to make the locale support in pg better? Running initdb
>>to set the locale is a bit heavy. It would be nice to at least be able to
>>set it per database.
>>
>>
>
>Uh, createdb and CREATE DATABASE both have encoding options. initdb
>only sets the encoding for template1, and the default for future
>databases, but you can override it.
>
>
>

That is true for encoding, but not true for LC_CTYPE and LC_COLLATE
locale settings, which only initdb can set.

cheers

andrew

In response to

  • Re: locale at 2004-04-07 17:17:21 from Bruce Momjian

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-04-07 18:20:55 Re: union vs. sort
Previous Message Dann Corbit 2004-04-07 17:34:20 Re: Small suggestion on build script