From: Tom Lane <tgl@sss.pgh.pa.us>
To: Florian Pflug <fgp@phlo.org>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Tim Uckun <timuckun@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: [BUGS] BUG #6034: pg_upgrade fails when it should not.
Date: Wed, 01 Jun 2011 16:33:02 -0400
Message-ID: <24405.1306960382@sss.pgh.pa.us> (raw)
In-Reply-To: <471C1E74-0A8F-45ED-8F31-3AFE10626A61@phlo.org>
References: <201105241959.p4OJxxL05180@momjian.us>
<1306942821.2279.0.camel@vanquo.pezone.net>
<21309.1306948863@sss.pgh.pa.us>
<1306952936.2279.2.camel@vanquo.pezone.net>
<471C1E74-0A8F-45ED-8F31-3AFE10626A61@phlo.org>
Florian Pflug <fgp@phlo.org> writes:
> On Jun1, 2011, at 20:28 , Peter Eisentraut wrote:
>> Well, initdb still succeeds if you give it an invalid locale name. It
>> warns, but that can easily be missed if initdb is hidden behind a few
>> other layers. If you then run pg_upgrade, you get a hosed instance.
> Whats the rational behind that behaviour? Wouldn't it be more user-friendly
> if initdb failed outright? It'd also be consistent with CREATE DATABASE...
I think we were being conservative about whether initdb would get it
right. Might be time to stiffen our spines a bit, now that the logic
has been through a few release cycles.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, fgp@phlo.org, peter_e@gmx.net, bruce@momjian.us, robertmhaas@gmail.com, timuckun@gmail.com, pgsql-hackers@postgresql.org
Subject: Re: [BUGS] BUG #6034: pg_upgrade fails when it should not.
In-Reply-To: <24405.1306960382@sss.pgh.pa.us>
References: <201105241959.p4OJxxL05180@momjian.us> <1306942821.2279.0.camel@vanquo.pezone.net> <21309.1306948863@sss.pgh.pa.us> <1306952936.2279.2.camel@vanquo.pezone.net> <471C1E74-0A8F-45ED-8F31-3AFE10626A61@phlo.org> <24405.1306960382@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox