Upgrade considerations v13
The following limitations apply to upgrading EDB Postgres Advanced Server:
- The
pg_upgradeutility 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 BYclause, you must usepg_dumpandpg_restoreto upgrade an existing Advanced Server installation to a later version of Advanced Server. To upgrade, you must:- Use
pg_dumpto 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_upgradeto upgrade the rest of the Advanced Server database to a more recent version. - Use
pg_restoreto 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.