Re: [BUGS] BUG #6034: pg_upgrade fails when it should not. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [BUGS] BUG #6034: pg_upgrade fails when it should not.
Date
Msg-id 24405.1306960382@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] BUG #6034: pg_upgrade fails when it should not.  (Florian Pflug <fgp@phlo.org>)
Responses Re: [BUGS] BUG #6034: pg_upgrade fails when it should not.
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [PERFORM] Hash Anti Join performance degradation
Next
From: Cédric Villemain
Date:
Subject: Re: [PERFORM] Hash Anti Join performance degradation