Re: locale - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: locale
Date
Msg-id 40743FF9.1090708@dunslane.net
Whole thread Raw
In response to Re: locale  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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


pgsql-hackers by date:

Previous
From: "Dann Corbit"
Date:
Subject: Re: Small suggestion on build script
Next
From: Tom Lane
Date:
Subject: Re: union vs. sort