Re: 7.4 --> 8.0/8.1 upgrade - Mailing list pgsql-admin

From Milen A. Radev
Subject Re: 7.4 --> 8.0/8.1 upgrade
Date
Msg-id e0dk7e$1si$1@sea.gmane.org
Whole thread Raw
In response to Re: 7.4 --> 8.0/8.1 upgrade  (Chris Travers <chris@metatrontech.com>)
List pgsql-admin
Chris Travers написа:
> Scott Marlowe wrote:
>
>> On Tue, 2006-03-28 at 19:47, sh test wrote:
>>
>>
>>> Hello admins!
>>>
>>> i need to collect as much information
>>>
>>> pro/cons on a possible upgrade from
>>>
>>> 7.4 ---> 8.0/8.1 version
>>>
>>> Aside from getting our users vote on this, I wanted to ask you first
>>> in order to collect any possible issues one might run into from
>>> upgrading to such
>>> versions.
>>>
>>
>> Downside:  You gotta dump and reload, or use slony to minimize the
>> downtime, but you need a spare machine to do that.
>> Upside:  Everything else.  PostgreSQL 8.x series has a lot of
>> performance improvements.
>>
>>
> When I upgraded from 7.4.2 to 8.1.3, I lost the oid fields in some
> tables which caused some issues with one application.

Probably because in 8.1 the value for the "default_with_oids" parameter
is "false". If you had tried to set it to "true" (at least for duration
of the restore) then you would have not lost those OIDs.

>
> I suspect that the better path is to upgrade (without dump/reload) to
> the most recent 7.4 release and then dump/reload when upgrading to 8.1.x
> but I am not 100% sure.
>
> If you don't WANT OID's in your table (they were dropped for a reason,
> you know), then this is not a concern.




--
Milen A. Radev

pgsql-admin by date:

Previous
From: Chris Travers
Date:
Subject: Re: 7.4 --> 8.0/8.1 upgrade
Next
From: "Gourish Singbal"
Date:
Subject: auto vacuuming