Re: pgsql 7.0 recovery to 7.4 - Mailing list pgsql-novice

From Tom Lane
Subject Re: pgsql 7.0 recovery to 7.4
Date
Msg-id 11504.1073578445@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql 7.0 recovery to 7.4  (Marcin Gil <marcin.gil@audax.com.pl>)
Responses Re: pgsql 7.0 recovery to 7.4  (Marcin Gil <marcin.gil@audax.com.pl>)
List pgsql-novice
Marcin Gil <marcin.gil@audax.com.pl> writes:
> For the future:
> - how should I dump my databases to omit such problems?

pg_dump or pg_dumpall

> - is pg_dump format compatible, ie will loading 7.0 version into 7.4 go
>    without a glitch?

Yes, it should.  Actually the best practice for an upgrade is to run the
newer version's pg_dump against the older server, if you can.  That way
you get the benefit of any pg_dump bug fixes in the newer version.

            regards, tom lane

pgsql-novice by date:

Previous
From: Marcin Gil
Date:
Subject: Re: pgsql 7.0 recovery to 7.4
Next
From: Tom Lane
Date:
Subject: Re: pl/pgSQL sequence question