Re: per-database locale: createdb switches

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Teodor Sigaev <teodor(at)sigaev(dot)ru>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: per-database locale: createdb switches
Date: 2008-11-10 15:33:19
Message-ID: 20081110153319.GG6053@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> > Tom Lane wrote:
> >> Seems to me there's one there already.
>
> > You're thinking of initdb maybe? I'm talking about createdb.
>
> Oh, okay. But how often is someone going to be changing locales during
> createdb? I think the most common case might well be like Teodor said,
> where you need to tweak them individually anyway.

Frequently, I think. In fact I think creating a database in a different
language is going to be more frequent than tweaking the settings
individually.

I like Teodor's proposal; I'll see about implementing that.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-11-10 15:33:59 Re: Block-level CRC checks
Previous Message Alvaro Herrera 2008-11-10 15:28:32 Re: Block-level CRC checks