Re: Database upgrading: upgrade server first or client first?

From: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
To: roy hills <royhills(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Database upgrading: upgrade server first or client first?
Date: 2012-04-30 18:42:12
Message-ID: 4F9EDD04.4080506@pinpointresearch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 04/30/2012 11:34 AM, roy hills wrote:
> I'm running a postgresql 8.1 database on a single server which is
> queried from a number of client systems.
> Both server and clients are running Debian Linux.
>
> I need to upgrade from 8.1 to 8.3, but it's difficult for me to
> upgrade everything at once. Is it possible to
> run different versions of the client and server, and if so is it
> better to upgrade the client first or the server first?

Yes it is.

The advice I've received upon asking this question in the past is
clients first then server. We are currently running many 9.1 clients
against some servers awaiting upgrade - the most ancient of which is
7.4. The only problem (annoyance, really) is that in interactive psql
sessions, a few of the "\" commands don't work with the old servers due
to differences in the system tables and similar internal changes between
versions.

As always, test your setup.

Also, if putting in the effort to upgrade, consider moving to 9.1 to get
all the current feature and performance benefits.

Cheers,
Steve

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andy Colson 2012-04-30 18:47:50 Re: Database upgrading: upgrade server first or client first?
Previous Message roy hills 2012-04-30 18:34:15 Database upgrading: upgrade server first or client first?