Upgrade Considerations v11
The following limitations apply to upgrading EDB Postgres Advanced Server:
- The
pg_upgrade
utility cannot upgrade a partitioned table if a foreign key refers to the partitioned table. - If you are upgrading from the version 9.4 server or a lower version of Advanced Server, and you use partitioned tables that include a
SUBPARTITION BY
clause, you must usepg_dump
andpg_restore
to upgrade an existing Advanced Server installation to a later version of Advanced Server. To upgrade, you must:- Use
pg_dump
to preserve the content of the subpartitioned table. - Drop the table from the Advanced Server 9.4 database or a lower version of Advanced Server database.
- Use
pg_upgrade
to upgrade the rest of the Advanced Server database to a more recent version. - Use
pg_restore
to restore the subpartitioned table to the latest upgraded Advanced Server database.
- Use
- If you perform an upgrade of the Advanced Server installation, you must rebuild any hash-partitioned table on the upgraded server.