Re: Should pg_dump refuse to run if DB has different version?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Should pg_dump refuse to run if DB has different version?
Дата
Msg-id 10948.954859355@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Should pg_dump refuse to run if DB has different version?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Peter Eisentraut <e99re41@DoCS.UU.SE> writes:
>> A downside is that a pg_dump might refuse to dump a DB that it actually
>> would work with;

> Well, the fact remains that 6.5 (and probably earlier) pg_dump doesn't
> work with 7.0 databases unless you fix the getInherits() function to do
> different things with different backends. Or what did you mean with "would
> actually work"?

I was just speculating about possible future problems.  Given the code
I committed last night, a 7.0 pg_dump will refuse to run with a 7.1
database (or vice versa, unless we change the version-checking code
before 7.1 is released).  Now maybe that combination would have worked
anyway --- but we don't know yet.

I did put in a switch to override the version check, so if you know it
will work you can use that switch.
        regards, tom lane


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

Предыдущее
От: wieck@debis.com (Jan Wieck)
Дата:
Сообщение: Re: caching query results
Следующее
От: "Sergey V. Mikheev"
Дата:
Сообщение: Permissions