From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Florian Pflug <fgp@phlo.org>
Cc: Peter Eisentraut <peter_e@gmx.net>
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: Thu, 13 Oct 2011 13:09:07 -0400 (EDT)
Message-ID: <201110131709.p9DH97j21789@momjian.us> (raw)
In-Reply-To: <24405.1306960382@sss.pgh.pa.us>
Tom Lane wrote:
> 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.
Do we want to revisit this?
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
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: bruce@momjian.us, tgl@sss.pgh.pa.us, fgp@phlo.org, peter_e@gmx.net, 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: <201110131709.p9DH97j21789@momjian.us>
References: <24405.1306960382@sss.pgh.pa.us> <201110131709.p9DH97j21789@momjian.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