Re: Should clients warn in case of server version mismatch

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Should clients warn in case of server version mismatch
Дата
Msg-id 1165595584.3243.45.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на Re: Should clients warn in case of server version mismatch ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
On Fri, 2006-12-08 at 09:16, Tom Lane wrote:
> "Rajesh Kumar Mallah" <mallah.rajesh@gmail.com> writes:
> > IMHO for major version mismatch psql should not present the
> > user with a prompt at all as certain commands are most likely
> > not work.
>
> The analogy you're drawing with pg_dump is faulty.  There are at least
> three good reasons for psql to be more forgiving of version mismatches
> than pg_dump is:

One more difference, pg_dump is backward compatible.  i.e. you don't
have to use the -i switch to run pg_dump v 8.1.x against pgsql v < 8.1
because pg_dump knows how to back up older version of the db on
purpose.  So, pg_dump is VERY forgiving going in one direction, as it
should be, and very unforgiving going in the other, again, as it should
be.

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

Предыдущее
От: Juan Pablo Yañez
Дата:
Сообщение: unsubscribe
Следующее
От: "Rajesh Kumar Mallah"
Дата:
Сообщение: Re: tsearch2 problem rank_cd() (possibly) crashing postgres