Re: Output Bug of pg_createcluster depending the used locale

From: Christoph Berg <myon(at)debian(dot)org>
To: Markus Wanner <markus(at)bluegap(dot)ch>
Cc: Patryk Kordylewski <pk(at)imos(dot)net>, pgsql-pkg-debian(at)postgresql(dot)org
Subject: Re: Output Bug of pg_createcluster depending the used locale
Date: 2013-05-21 03:50:39
Message-ID: 20130521035038.GD5255@msgid.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

Re: Markus Wanner 2013-05-17 <51960ADC(dot)3080901(at)bluegap(dot)ch>
> Patryk,
>
> On 05/17/2013 11:38 AM, Patryk Kordylewski wrote:
> > Checking the cluster it hast the german locale, so it seems to be just
> > an output bug?
>
> Looks like it, yes. At least my testing confirms this. The attached,
> very simple patch fixes this.

Yeah I had also spotted this. The script isn't smart enough.

> + if ($locale) {
> + print " locale $locale (custom)\n";

Not sure if that's enough and we don't need to look at the encoding or
lc_* values too. Possibly we could into the cluster created to figure
out the values (postgresql.conf maybe?).

Christoph
--
cb(at)df7cb(dot)de | http://www.df7cb.de/

In response to

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Markus Wanner 2013-05-21 18:15:39 Re: Output Bug of pg_createcluster depending the used locale
Previous Message Christoph Berg 2013-05-21 03:45:18 Re: Wierdness on install with new script