Re: migrating data from an old postgres version - Mailing list pgsql-general

From Tom Lane
Subject Re: migrating data from an old postgres version
Date
Msg-id 6075.1468595238@sss.pgh.pa.us
Whole thread Raw
In response to Re: migrating data from an old postgres version  (Willy-Bas Loos <willybas@gmail.com>)
Responses Re: migrating data from an old postgres version  (Willy-Bas Loos <willybas@gmail.com>)
List pgsql-general
Willy-Bas Loos <willybas@gmail.com> writes:
> (the manual says:"It is recommended that you use the pg_dump and pg_dumpall
> programs from the newer version of PostgreSQL")

The reason for the manual's recommendation is that the newer version might
contain bug fixes not present in the older one.  But discounting that
risk, a dump made by an older version of pg_dump usually should load into
a newer server.  We try *very* hard to avoid breaking syntaxes used by old
pg_dump versions.  The possibility of identifiers conflicting with new
reserved words is a hazard of course, which is what
"--quote-all-identifiers" was invented to address.  But if you don't use
that option, you're at risk for that regardless of whether you dumped with
the older or new pg_dump.

            regards, tom lane


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Cascade streaming replication + wal_files - Pgsql 9.2
Next
From: Willy-Bas Loos
Date:
Subject: Re: migrating data from an old postgres version