Re: Should clients warn in case of server version mismatch - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: Should clients warn in case of server version mismatch
Date
Msg-id 1165595584.3243.45.camel@state.g2switchworks.com
Whole thread Raw
In response to Re: Should clients warn in case of server version mismatch ?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Juan Pablo Yañez
Date:
Subject: unsubscribe
Next
From: "Rajesh Kumar Mallah"
Date:
Subject: Re: tsearch2 problem rank_cd() (possibly) crashing postgres