Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Uedb8-000426-Ca for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 21 May 2013 03:50:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Uedb7-0002j9-TC for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 21 May 2013 03:50:49 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Uedb7-0002j3-C7 for pgsql-pkg-debian@postgresql.org; Tue, 21 May 2013 03:50:49 +0000 Received: from cl-2390.ham-01.de.sixxs.net ([2001:6f8:900:955::2] helo=feynman.df7cb.de) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Uedb4-0007AD-Hd for pgsql-pkg-debian@postgresql.org; Tue, 21 May 2013 03:50:48 +0000 Received: from msgid.df7cb.de (lehmann.df7cb.de [IPv6:2001:6f8:10ee:e:136::2]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 3C249697BC; Tue, 21 May 2013 05:50:44 +0200 (CEST) Date: Mon, 20 May 2013 20:50:39 -0700 From: Christoph Berg To: Markus Wanner Cc: Patryk Kordylewski , pgsql-pkg-debian@postgresql.org Subject: Re: Output Bug of pg_createcluster depending the used locale Message-ID: <20130521035038.GD5255@msgid.df7cb.de> Mail-Followup-To: Christoph Berg , Markus Wanner , Patryk Kordylewski , pgsql-pkg-debian@postgresql.org References: <5195FA83.9010604@imos.net> <51960ADC.3080901@bluegap.ch> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nmemrqcdn5VTmUEE" Content-Disposition: inline In-Reply-To: <51960ADC.3080901@bluegap.ch> User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: 0.8 (/) X-Mailing-List: pgsql-pkg-debian List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Precedence: bulk Sender: pgsql-pkg-debian-owner@postgresql.org --nmemrqcdn5VTmUEE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Re: Markus Wanner 2013-05-17 <51960ADC.3080901@bluegap.ch> > Patryk, >=20 > 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? >=20 > 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 --=20 cb@df7cb.de | http://www.df7cb.de/ --nmemrqcdn5VTmUEE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJRmu8OAAoJEExaa6sS0qeuQo0QAJn1uMOgDHVUhOFLMQrbmM86 VYhNCOOU98uI/iTGriY9l28AR5g2HsX6b0JFvRVACJDhiKhXtbtdzxjnA/K3UM5y MV/c7P/JEKvM0v56z2ta3/5GfeDUq/Ezvu5gkdO4AfVqx8eY2Kx/o9gi0wXI9t2W pgpdtSYsK0UO3GTflYjWp4BDk3kt0shHvYofRRivBni0v1QZNGzrpC7T08CJATyA QU/RqNB3Tb5F4OPXxrS5M38ohbA51c02KPnK5zuu8NW39qO9Zh5feq7e9sMbCASK +DHMP4ieRqcI3Q8TFhHPrwPUiCGL5P95yZXl77/Gb0xdEQOjs6sq1nxFo8vm8Rpg HYMX1OW7vQmWQsDq7sEBlvSuGPjPxIWPoTX+f6yTcxEmRJQhySnnd6WZeuUoSgyu oVKs7jVp65KZdMaK199MlDZB8NFx4B5CyQ/30vBH7qLRH7c/Ey/hyiq6ikFTj/VA KEs//sQCf8v2hSTtrlBP+hbnwXVN9t6e9wRcOZ7Hlt1H07BIx/ctwqw24EME55lk QJLHgVrZxxusCsVn5grulqxHQAq5WAFQ/I7saBuDOfthiWEsc5Fpe4H1XmuItznt ka9bTACxvI6+ArFm84EKb65urdqMEgH/owfGx7yYGGeCWADWdFuvKxcu616xvIK5 OlkcPvv3TxfIqhhvFtk/ =2kMP -----END PGP SIGNATURE----- --nmemrqcdn5VTmUEE--