Re: clients and libs and versions (oh my)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: clients and libs and versions (oh my)
Date: 2006-08-09 02:12:45
Message-ID: 14801.1155089565@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Steve Crawford <scrawford(at)pinpointresearch(dot)com> writes:
> When version mismatches between the client and server are inevitable,
> what is less likely to get me into trouble - clients/libs newer than
> server or server newer than clients/libs?

For the most part I'd update the server first; the exception is that
you'd better be running a pg_dump at least as new as the server.

Also, psql's \d commands are pretty version-specific and frequently fail
if the server is either up-rev or down-rev.

Whichever order you do it in (and most of the time it's probably not
that critical), I'd try to avoid really serious gaps in versions.
7.3 client against 8.1 server, or vice versa, is likely to be a
headache. We do try to maintain cross-version compatibility, but
over more than a couple of releases the gotchas will accumulate.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2006-08-09 02:33:14 Re: Accessing Database Data from C Function
Previous Message Alvaro Herrera 2006-08-09 01:32:13 Re: Does DROP TABLE free up disk space immediately?