Re: per-database locale: createdb switches - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: per-database locale: createdb switches
Date
Msg-id 49133B34.8050604@sigaev.ru
Whole thread Raw
In response to per-database locale: createdb switches  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: per-database locale: createdb switches
List pgsql-hackers
Alvaro Herrera wrote:
> Hi,
> 
> I just noticed that the interface for choosing a different locale at db
> creation time is
> createdb --lc-collate=X --lc-ctype=X.  Is there a reason for having
> these two separate switches?  It seems awkward; why can't we just have a
> single --locale switch that selects both settings at once?
> 

Sometimes it's needed to use C-collate with non-C-ctype. But for most 
users it's enough just a locale switch. What about 
[--locale=X|--lc-collate=X --lc-ctype=X] option?


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: plperl needs upgrade for Fedora 10
Next
From: Tom Lane
Date:
Subject: Re: RAM-only temporary tables