Re: Compatibility between different versions of psql client and postgresql server

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Compatibility between different versions of psql client and postgresql server
Date: 2004-08-28 14:28:16
Message-ID: 8a456d9c6f2de83ab21734808cfbd5f4@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> When connecting from a psql client version xyz to a postgresql server
> version zyx across the network, what are the rules to follow for
> assuring compatibility between different versions?

The basic rule is: use the same version for both.

> For example, is it possible to connect from psql 7.2.x to postgresql
> server 7.4.x?

This one is possible, but anytime you mix versions, you will probably have
problems. Since psql is part of the main PostgreSQL distribution, if
you have the 7.4.x server, you should have the 7.4.x psql as well. 7.2.x
(the server) is rather old and has some serious issues, and it should not
be used. In general, going from an older psql to a newer server will cause
less problems than going the other way.

Having said all of that, there is an effort underway to try and
make psql a little more forgiving. The 8.0 version can work against 7.4
servers, and I'm going to try and keep things relatively portable as we
move forward from 8.0. However, it will never work against 7.2 servers
(too many changes from 7.2->7.3 to make it worth the trouble) and *may*
at some point read 7.3 servers, but that gets less likely as time moves on.

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
PGP Key: 0x14964AC8 200408281026
-----BEGIN PGP SIGNATURE-----

iD8DBQFBMJaxvJuQZxSWSsgRAp6GAJ9CqChJdRlpL5OLEOHNCLmxvc0NOgCdFD6c
6085Mq0GOiwQV5Fm2PPa2b4=
=H7GW
-----END PGP SIGNATURE-----

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2004-08-28 16:27:58 Re: Compatibility between different versions of psql client and postgresql server
Previous Message kris pal 2004-08-28 12:32:11 Re: vacuum pg_attribute causes high load