Re: [BUGS] BUG #6034: pg_upgrade fails when it should not.

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [BUGS] BUG #6034: pg_upgrade fails when it should not.
Дата
Msg-id 201110131709.p9DH97j21789@momjian.us
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #6034: pg_upgrade fails when it should not.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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. +


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Dumping roles improvements?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pl/perl example in the doc no longer works in 9.1