Skip to content

Commit 8ca9efc

Browse files
authored
Docs 769-b (#6505)
* Small fixes for new upgrade command. * Updates for 5.7 * Added a note about upgrading both PGD version and Postgres major version simultaneously with pgd node upgrade. * small changes * Added a note about upgrading to older versions than 5.7.0 of PGD and using bdr_pg_upgrade instead. * updated upgrade paths to include 4.37 to 5.7.0 * Small changes * Took reconcile with TPA bit out as it no longer works. * added redirect * Fixed redirect and changed filename. * Small changes in language to show you can upgrade both major versions of PGD and Postgres. * Small changes in index. * Some link fixes. * some small changes
1 parent 72c71d8 commit 8ca9efc

File tree

10 files changed

+146
-145
lines changed

10 files changed

+146
-145
lines changed

product_docs/docs/pgd/5.6/upgrades/upgrade_paths.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ release before upgrading to the latest version 5 release. After upgrading to
2727
| 4.3.2 | 5.1.0 or later |
2828
| 4.3.3 | 5.1.0 or later |
2929

30+
3031
## Upgrading from version 3.7 to version 5
3132

3233
Starting with version 3.7.23, you can upgrade directly to version 5.3.0 or later.

product_docs/docs/pgd/5.7/rel_notes/pgd_5.7.0_rel_notes.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ guarantees that every transaction is decoded and sent at least once.</p>
2626
</details></td><td></td></tr>
2727
<tr><td>PGD CLI</td><td>5.7.0</td><td><details><summary>Added a new local assesment feature for local non-PGD nodes to the CLI</summary><hr/><p>The new feature allows you to assess the local node for compatibility with PGD. The feature is available as <code>pgd assess</code>. Full details are available in <a href="/pgd/latest/cli/command_ref">the CLI command reference</a>.</p>
2828
</details></td><td></td></tr>
29-
<tr><td>PGD CLI</td><td>5.7.0</td><td><details><summary>Added <code>pgd node upgrade</code> functionality to the PGD CLI.</summary><hr/><p>The new command allows you to upgrade a node to the latest version of PGD and Postgres. It integrates the operation of <code>bdr_pg_upgrade</code> into the CLI and is run locally. See <a href="/pgd/latest/cli/command_ref/node/upgrade">pgd node upgrade</a> and <a href="/pgd/latest/upgrades/bdr_pg_upgrade">inplace upgrades</a> for more information.</p>
29+
<tr><td>PGD CLI</td><td>5.7.0</td><td><details><summary>Added <code>pgd node upgrade</code> functionality to the PGD CLI.</summary><hr/><p>The new command allows you to upgrade a node to the latest version of PGD and Postgres. It integrates the operation of <code>bdr_pg_upgrade</code> into the CLI and is run locally. See <a href="/pgd/latest/cli/command_ref/node/upgrade">pgd node upgrade</a> and <a href="/pgd/latest/upgrades/inplace_upgrade">inplace upgrades</a> for more information.</p>
3030
</details></td><td></td></tr>
3131
<tr><td>BDR</td><td>5.7.0</td><td><details><summary>Fixed an issue whereby concurrent joins of subscriber-only nodes occasionally stopped responding.</summary><hr/><p>A node could end up waiting for the local state of another concurrently joined node to advance, which caused the system to stop responding.</p>
3232
</details></td><td>42964</td></tr>

product_docs/docs/pgd/5.7/rel_notes/src/relnote_5.7.0.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ relnotes:
239239
- relnote: Added `pgd node upgrade` functionality to the PGD CLI.
240240
component: PGD CLI
241241
details: |
242-
The new command allows you to upgrade a node to the latest version of PGD and Postgres. It integrates the operation of `bdr_pg_upgrade` into the CLI and is run locally. See [pgd node upgrade](/pgd/latest/cli/command_ref/node/upgrade) and [inplace upgrades](/pgd/latest/upgrades/bdr_pg_upgrade) for more information.
242+
The new command allows you to upgrade a node to the latest version of PGD and Postgres. It integrates the operation of `bdr_pg_upgrade` into the CLI and is run locally. See [pgd node upgrade](/pgd/latest/cli/command_ref/node/upgrade) and [inplace upgrades](/pgd/latest/upgrades/inplace_upgrade) for more information.
243243
jira: ""
244244
addresses: ""
245245
type: Feature

product_docs/docs/pgd/5.7/upgrades/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ EDB Postgres Distributed is a flexible platform. This means that your upgrade pa
2525
* **[Compatibility changes](compatibility)** &mdash; If you're upgrading from PGD 3.x or 4.x to PGD 5.x or later, you need to understand the compatibility changes between versions.
2626

2727

28-
## Upgrading Postgres
28+
## Upgrading Postgres or Postgres and PGD major versions
2929

30-
* **[In-place Postgres upgrades](bdr_pg_upgrade)** &mdash; How to use `pgd node upgrade` to manually upgrade the Postgres version on a node, or nodes.
30+
* **[In-place Postgres major version upgrades](inplace_upgrade)** &mdash; How to use `pgd node upgrade` to manually upgrade the Postgres version or Postgres and PGD major version on a node, or nodes.
3131

32-
* **[Rolling major version upgrades](upgrading_major_rolling)** &mdash; How to perform a major version upgrade of Postgres on a cluster deployed using TPA.
32+
* **[Rolling major version upgrades](upgrading_major_rolling)** &mdash; How to perform a major version upgrade of Postgres on a cluster.
3333

3434

3535
## Other upgrades

product_docs/docs/pgd/5.7/upgrades/bdr_pg_upgrade.mdx renamed to product_docs/docs/pgd/5.7/upgrades/inplace_upgrade.mdx

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
---
2-
title: In-place Postgres major version upgrades
2+
title: In-place Postgres or Postgres and PGD major version upgrades
3+
redirects:
4+
- pgd/latest/upgrades/bdr_pg_upgrade/
35
---
46

5-
You can upgrade a PGD node to a newer major version of Postgres using the command-line utility [pgd node upgrade](/pgd/latest/cli/command_ref/node/upgrade.mdx).
7+
You can upgrade a PGD node to a newer major version of Postgres or a major version of Postgres and PGD using the command-line utility [pgd node upgrade](/pgd/5.7/cli/command_ref/node/upgrade.mdx).
8+
9+
!!!Note
10+
In previous versions before 5.7.0, the command used for in-place major version upgrades was `bdr_pg_upgrade`.
11+
However, this command did not have an option to upgrade both Postgres major versions and PGD versions simultaneously, as `pgd node upgrade` does.
12+
!!!
613

714
`pgd node upgrade` is a wrapper around the standard [pg_upgrade](https://www.postgresql.org/docs/current/pgupgrade.html) that
815
adds PGD-specific logic to the process to ensure a smooth upgrade.
@@ -40,13 +47,18 @@ You must meet several prerequisites for `pgd node upgrade`:
4047
match the old cluster configuration.
4148
- Databases, tables, and other objects must not exist in the new cluster.
4249

50+
!!! Note
51+
When upgrading to PGD 5.7.0+, you do not need to have both cluster run the same PGD version.
52+
The new cluster must be running 5.7.0+.
53+
In that case `pgd node upgrade` will upgrade both the PGD version to 5.7.x as well as upgrading the Postgres major version.
54+
!!!
4355

4456
We also recommend having the old Postgres cluster up prior to running `pgd node upgrade`.
4557
The CLI starts the old Postgres cluster if it's shut down.
4658

4759
## Usage
4860

49-
To upgrade to a newer major version of Postgres, you must first install the new version.
61+
To upgrade to a newer major version of Postgres or Postgres and PGD, you must first install the new version packages.
5062

5163
### `pgd node upgrade` command-line
5264

product_docs/docs/pgd/5.7/upgrades/manual_overview.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ version of Postgres you're upgrading to.
191191

192192
Upgrading to a new major version of Postgres is more complicated than upgrading to a minor version.
193193

194-
EDB Postgres Distributed provides a bdr_pg_upgrade command line utility,
195-
which you can use to do [in-place Postgres major version upgrades](bdr_pg_upgrade).
194+
EDB Postgres Distributed provides a pgd node upgrade command line utility,
195+
which you can use to do [in-place Postgres major version upgrades](inplace_upgrade).
196196

197197
!!! Note
198198
When upgrading to a new major version of any software, including Postgres, the

product_docs/docs/pgd/5.7/upgrades/tpa_overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Upgrading PGD clusters with TPA
55
!!! Note No Postgres major version upgrades
66
TPA doesn't currently support major version upgrades of Postgres.
77

8-
To perform a major version upgrade of Postgres, see [In-place Postgres major version upgrades](bdr_pg_upgrade).
8+
To perform a major version upgrade of Postgres, see [In-place Postgres major version upgrades](inplace_upgrade).
99
!!!
1010

1111
If you used TPA to install your cluster, you can also use TPA to upgrade it. The techniques outlined here can perform minor and major version upgrades of the PGD software. They can also perform minor version upgrades of Postgres.

product_docs/docs/pgd/5.7/upgrades/upgrade_paths.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ release before upgrading to the latest version 5 release. After upgrading to
2626
| 4.3.1 | 5.1.0 or later |
2727
| 4.3.2 | 5.1.0 or later |
2828
| 4.3.3 | 5.1.0 or later |
29+
| 4.3.7 | 5.7.0 or later |
2930

3031
## Upgrading from version 3.7 to version 5
3132

0 commit comments

Comments
 (0)