Re: Bug #828: psql in 7.3 can't talk to 7.1 backends

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #828: psql in 7.3 can't talk to 7.1 backends
Date: 2002-12-01 16:47:23
Message-ID: 18687.1038761243@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Philip Warner <pjw(at)rhyme(dot)com(dot)au> writes:
> I guess we should get the version & refuse to connect...

We deliberately don't do that in psql. Not having working backslash
commands is not necessarily a fatal lack of functionality --- if you're
just going to issue regular SQL commands then psql will work fine with
backends of quite different versions. It doesn't seem like a good idea
to shut off access to that functionality.

A warning at startup about differing versions might be appropriate
though.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2002-12-01 18:45:10 Re: Bug #827: pg_dump in 7.3 can't dump 7.1 db
Previous Message Tom Lane 2002-12-01 16:43:17 Re: Bug #827: pg_dump in 7.3 can't dump 7.1 db