Re: Working with v8.3.4 DB using v9.0.1 software

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Working with v8.3.4 DB using v9.0.1 software
Date: 2010-12-27 19:46:10
Message-ID: 4D18ED02.4080003@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Le 27/12/2010 20:38, John R Pierce a écrit :
> On 12/27/10 11:00 AM, Guillaume Lelarge wrote:
>> Le 27/12/2010 18:27, Gauthier, Dave a écrit :
>>> Hi:
>>>
>>> I'm working with 2 different PG installs on 2 different linux
>>> servers, one running v9.0.1 and the other v8.3.4. The older install
>>> is "frozen" for the project (which is nearing completion) for
>>> environment stability reasons. This is out of my control. I cannot
>>> upgrade v8.3.4 on that server. But I would like to be able to use
>>> psql v9.0.1 on the older DB. It seems to work, with a warning that
>>> some features may not be available or work right.
>>>
>>> My question has to do with backward compatibility, v9.0.1 and
>>> v8.3.4. Can I use v9.0.1 software (psql, pg_ctl, etc...) on the
>>> v8.3.4 DB with confidence?
>>>
>> psql should work the same, apart from new metacommands. I don't think
>> you'll experience issues with pg_ctl. I would not recommend you to user
>> pg_dump and pg_restore. They are pretty sensitive to the PostgreSQL
>> release.
>
> pg_dump is designed specifically to be able to dump from all supported
> older versions so you can convert the data forwards.
>

Yeah, you can dump from an old release, but you're not garanteed you'll
be able to restore it on an older release.

> pg_restore, yeah, I would not use pg_restore 9 to restore a dump onto a
> 8.3.x database.
>

--
Guillaume
http://www.postgresql.fr
http://dalibo.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Geoghegan 2010-12-27 19:48:50 Re: C++ keywords in headers (was Re: [GENERAL] #include <funcapi.h>)
Previous Message Tom Lane 2010-12-27 19:44:31 Re: Working with v8.3.4 DB using v9.0.1 software