From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
Cc: Adam Radlowski <adamr@informatyka.gdansk.pl>
Cc: Lista Postgres <pgsql-admin@postgresql.org>
Subject: Re: Should clients warn in case of server version mismatch
Date: Fri, 08 Dec 2006 10:33:04 -0600
Message-ID: <1165595584.3243.45.camel@state.g2switchworks.com> (raw)
In-Reply-To: <5037.1165591013@sss.pgh.pa.us>
References: <a97c77030612072049q7acab446v6999f892b17a42ee@mail.gmail.com>
<45790F91.4090404@informatyka.gdansk.pl>
<a97c77030612072330j6871a095u1ba469c7eee2e242@mail.gmail.com>
<5037.1165591013@sss.pgh.pa.us>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: smarlowe@g2switchworks.com, tgl@sss.pgh.pa.us, mallah.rajesh@gmail.com, adamr@informatyka.gdansk.pl
Subject: Re: Should clients warn in case of server version mismatch
In-Reply-To: <1165595584.3243.45.camel@state.g2switchworks.com>
References: <a97c77030612072049q7acab446v6999f892b17a42ee@mail.gmail.com> <45790F91.4090404@informatyka.gdansk.pl> <a97c77030612072330j6871a095u1ba469c7eee2e242@mail.gmail.com> <5037.1165591013@sss.pgh.pa.us> <1165595584.3243.45.camel@state.g2switchworks.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox