pg_dump new version - Mailing list pgsql-general

From Oliver Kohll - Mailing Lists
Subject pg_dump new version
Date
Msg-id 79431CF4-B90C-4DBC-BD59-71BBDC34A694@gtwm.co.uk
Whole thread Raw
Responses Re: pg_dump new version  (Alban Hertroys <dalroi@solfertje.student.utwente.nl>)
Re: pg_dump new version  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hello,

May I take a lull between PG releases to ask an upgrade Q? Documentation and people often recommend that when doing a
majorversion upgrade, to dump data from the old server with the new version of pg_dump, since the new pg_dump may have
bugfixesnot available to the old. 

I've never done this simply because it's not clear from the docs how to - perhaps it's platform dependant. The upgrade
doc
http://www.postgresql.org/docs/8.4/interactive/install-upgrading.html
is a very clear step by step procedure to follow with the exception of

'To make the backup, you can use the pg_dumpall command from the version you are currently running. For best results,
however,try to use the pg_dumpall command fromPostgreSQL 8.4.2, since this version contains bug fixes and improvements
overolder versions. While this advice might seem idiosyncratic since you haven't installed the new version yet, it is
advisableto follow it if you plan to install the new version in parallel with the old version'. 

So for someone using RPM packages to install Postgres, what's the recommended sequence to do this?

Regards
Oliver Kohll
www.agilebase.co.uk



pgsql-general by date:

Previous
From: Yan Cheng CHEOK
Date:
Subject: Alternative to UPDATE (As COPY to INSERT)
Next
From: Yeb Havinga
Date:
Subject: Re: Sorting performance vs. MySQL