From e303907e64d0c701d85914cb6d60b013e1c45664 Mon Sep 17 00:00:00 2001 From: nidhibhammar <59045594+nidhibhammar@users.noreply.github.com> Date: Mon, 17 Oct 2022 15:37:45 +0530 Subject: [PATCH 1/4] Updated the Upgrade EPAS considerations --- .../docs/epas/14/epas_upgrade_guide/03_limitations.mdx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/product_docs/docs/epas/14/epas_upgrade_guide/03_limitations.mdx b/product_docs/docs/epas/14/epas_upgrade_guide/03_limitations.mdx index 7f5df57f398..807b0b36652 100644 --- a/product_docs/docs/epas/14/epas_upgrade_guide/03_limitations.mdx +++ b/product_docs/docs/epas/14/epas_upgrade_guide/03_limitations.mdx @@ -2,12 +2,14 @@ title: "Upgrade considerations" --- -The following limitations apply to upgrading EDB Postgres Advanced Server: +The following 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 EDB Postgres Advanced Server, and you use partitioned tables that include a `SUBPARTITION BY` clause, you must use `pg_dump` and `pg_restore` to upgrade an existing EDB Postgres Advanced Server installation to a later version of EDB Postgres Advanced Server. To upgrade, you must: +- If you are upgrading from a lower version of EDB Postgres Advanced Server, and you use partitioned tables that include a `SUBPARTITION BY` clause, you must use `pg_dump` and `pg_restore` to upgrade an existing EDB Postgres Advanced Server installation to a later version of EDB Postgres Advanced Server. To upgrade, you must: 1. Use `pg_dump` to preserve the content of the subpartitioned table. 2. Drop the table from the EDB Postgres Advanced Server 9.4 database or a lower version of EDB Postgres Advanced Server database. 3. Use `pg_upgrade` to upgrade the rest of the EDB Postgres Advanced Server database to a more recent version. 4. Use `pg_restore` to restore the subpartitioned table to the latest upgraded EDB Postgres Advanced Server database. - If you perform an upgrade of the EDB Postgres Advanced Server installation, you must rebuild any hash-partitioned table on the upgraded server. +- If you are using an ODBC, JDBC, OCI, or .NET driver to connect to your database applications and upgrading to a new major version of EDB Postgres Advanced Server, upgrade your driver to the latest version after or before upgrading EDB Postgres Advanced Server. From eedf9d9b8167454371fd31aeb60ea87a434e6713 Mon Sep 17 00:00:00 2001 From: nidhibhammar <59045594+nidhibhammar@users.noreply.github.com> Date: Mon, 17 Oct 2022 16:17:19 +0530 Subject: [PATCH 2/4] Update product_docs/docs/epas/14/epas_upgrade_guide/03_limitations.mdx Co-authored-by: Dee Dee Rothery <83650384+drothery-edb@users.noreply.github.com> --- product_docs/docs/epas/14/epas_upgrade_guide/03_limitations.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product_docs/docs/epas/14/epas_upgrade_guide/03_limitations.mdx b/product_docs/docs/epas/14/epas_upgrade_guide/03_limitations.mdx index 807b0b36652..9075e7f409e 100644 --- a/product_docs/docs/epas/14/epas_upgrade_guide/03_limitations.mdx +++ b/product_docs/docs/epas/14/epas_upgrade_guide/03_limitations.mdx @@ -2,7 +2,7 @@ title: "Upgrade considerations" --- -The following apply to upgrading EDB Postgres Advanced Server: +Consider the following when upgrading EDB Postgres Advanced Server: - The `pg_upgrade` utility cannot upgrade a partitioned table if a foreign key refers to the partitioned table. From 5fd3777020e4cfd3d13058087aa6a984615ef0ae Mon Sep 17 00:00:00 2001 From: nidhibhammar <59045594+nidhibhammar@users.noreply.github.com> Date: Mon, 17 Oct 2022 16:18:41 +0530 Subject: [PATCH 3/4] Update product_docs/docs/epas/14/epas_upgrade_guide/03_limitations.mdx Co-authored-by: Dee Dee Rothery <83650384+drothery-edb@users.noreply.github.com> --- product_docs/docs/epas/14/epas_upgrade_guide/03_limitations.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product_docs/docs/epas/14/epas_upgrade_guide/03_limitations.mdx b/product_docs/docs/epas/14/epas_upgrade_guide/03_limitations.mdx index 9075e7f409e..716bbd87041 100644 --- a/product_docs/docs/epas/14/epas_upgrade_guide/03_limitations.mdx +++ b/product_docs/docs/epas/14/epas_upgrade_guide/03_limitations.mdx @@ -12,4 +12,4 @@ Consider the following when upgrading EDB Postgres Advanced Server: 3. Use `pg_upgrade` to upgrade the rest of the EDB Postgres Advanced Server database to a more recent version. 4. Use `pg_restore` to restore the subpartitioned table to the latest upgraded EDB Postgres Advanced Server database. - If you perform an upgrade of the EDB Postgres Advanced Server installation, you must rebuild any hash-partitioned table on the upgraded server. -- If you are using an ODBC, JDBC, OCI, or .NET driver to connect to your database applications and upgrading to a new major version of EDB Postgres Advanced Server, upgrade your driver to the latest version after or before upgrading EDB Postgres Advanced Server. +- If you are using an ODBC, JDBC, OCI, or .NET driver to connect to your database applications and upgrading to a new major version of EDB Postgres Advanced Server, upgrade your driver to the latest version when upgrading EDB Postgres Advanced Server. From 44d665075752fa7808a10cf35276a08ab584ffc4 Mon Sep 17 00:00:00 2001 From: nidhibhammar <59045594+nidhibhammar@users.noreply.github.com> Date: Wed, 2 Nov 2022 10:54:13 +0530 Subject: [PATCH 4/4] Reverted the changes for lower version bullet --- product_docs/docs/epas/14/epas_upgrade_guide/03_limitations.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product_docs/docs/epas/14/epas_upgrade_guide/03_limitations.mdx b/product_docs/docs/epas/14/epas_upgrade_guide/03_limitations.mdx index 716bbd87041..59b1f1aa3f3 100644 --- a/product_docs/docs/epas/14/epas_upgrade_guide/03_limitations.mdx +++ b/product_docs/docs/epas/14/epas_upgrade_guide/03_limitations.mdx @@ -6,7 +6,7 @@ Consider the following when 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 a lower version of EDB Postgres Advanced Server, and you use partitioned tables that include a `SUBPARTITION BY` clause, you must use `pg_dump` and `pg_restore` to upgrade an existing EDB Postgres Advanced Server installation to a later version of EDB Postgres Advanced Server. To upgrade, you must: +- If you are upgrading from the version 9.4 server or a lower version of EDB Postgres Advanced Server, and you use partitioned tables that include a `SUBPARTITION BY` clause, you must use `pg_dump` and `pg_restore` to upgrade an existing EDB Postgres Advanced Server installation to a later version of EDB Postgres Advanced Server. To upgrade, you must: 1. Use `pg_dump` to preserve the content of the subpartitioned table. 2. Drop the table from the EDB Postgres Advanced Server 9.4 database or a lower version of EDB Postgres Advanced Server database. 3. Use `pg_upgrade` to upgrade the rest of the EDB Postgres Advanced Server database to a more recent version.