Re: -HEAD pg_dumpall broken against older backends

Поиск
Список
Период
Сортировка
От Stefan Kaltenbrunner
Тема Re: -HEAD pg_dumpall broken against older backends
Дата
Msg-id 442ACACD.9050103@kaltenbrunner.cc
обсуждение исходный текст
Ответ на Re: -HEAD pg_dumpall broken against older backends  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches
Peter Eisentraut wrote:
> Stefan Kaltenbrunner wrote:
>
>>looks like somebody forgot to test some changes to the pg_dumpall
>>code in Revision 1.70 against <8.1 installations -  resulting in the
>>following syntax error:
>
>
> Dump output is never expected to be backward compatible.

yeah - but if you take a look at the code/patch you will see that the
problem in this case is that pg_dumpall generates invalid SQL if it is
operating against an older backend which is an obvious typo/thinko in
this case.
It has nothing to do with generating backwards compatible dumps - and
using the pg_dumpall from the (newer) target version for upgrades has
been recommended for a while (or rather is documented to work in the
manual) I think.


Stefan

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: -HEAD pg_dumpall broken against older backends
Следующее
От: BERTHOULE Emmanuel
Дата:
Сообщение: restore to defaults values when commenting of variables in postgresql.conf