Re: per-database locale: createdb switches

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: per-database locale: createdb switches
Date: 2008-11-06 18:45:08
Message-ID: 49133B34.8050604@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-11-06 18:47:21 Re: RAM-only temporary tables
Previous Message Tom Lane 2008-11-06 18:37:53 Re: plperl needs upgrade for Fedora 10