From: Bruce Momjian Date: Tue, 25 May 2010 14:50:56 +0000 (+0000) Subject: Add pg_upgrade docs about binary compatibility, per Robert Haas. X-Git-Tag: REL9_0_BETA2~74 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ff79fa42578ba711c73bfd6bf712f828bf479e1;p=postgresql Add pg_upgrade docs about binary compatibility, per Robert Haas. --- diff --git a/doc/src/sgml/pgupgrade.sgml b/doc/src/sgml/pgupgrade.sgml index 0b9b5c3cc9..e5c054c137 100644 --- a/doc/src/sgml/pgupgrade.sgml +++ b/doc/src/sgml/pgupgrade.sgml @@ -1,4 +1,4 @@ - + pg_upgrade @@ -16,6 +16,16 @@ 9.0.1 -> 9.0.4. + + pg_upgrade works because, though new features are + regularly added to Postgres major releases, the internal data storage + format rarely changes. pg_upgrade does its best to + make sure the old and new clusters are binary-compatible, e.g. by + checking for compatible compile-time settings. It is important that + any external modules are also binary compatibile, though this cannot + be checked by pg_upgrade. + + Supported Versions @@ -440,7 +450,6 @@ psql --username postgres --file script.sql postgres Limitations in migrating <emphasis>from</> PostgreSQL 8.3 - Upgrading from PostgreSQL 8.3 has additional restrictions not present when upgrading from later PostgreSQL releases. For example, @@ -502,8 +511,8 @@ psql --username postgres --file script.sql postgres For Windows users, note that due to different integer datetimes settings used by the one-click installer and the MSI installer, it is only possible to upgrade from version 8.3 of the one-click distribution to - version 8.4 of the one-click distribution. It is not possible to upgrade - from the MSI installer to the one-click installer. + version 8.4 or later of the one-click distribution. It is not + possible to upgrade from the MSI installer to the one-click installer.