Skip to content

Commit baa434a

Browse files
authored
PG-2380 - Update Minor Upgrade guide with pg_tde version update (18) (#985)
This PR adds an extra procedure step in the minor update tells the user how to update pg_tde to the latest installed version.
1 parent 7d3f3c9 commit baa434a

1 file changed

Lines changed: 11 additions & 12 deletions

File tree

docs/minor-upgrade.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,6 @@ Minor releases of PostgreSQL include bug fixes and feature enhancements. We reco
44

55
Though minor upgrades do not change the behavior, we recommend you to back up your data first, in order to be on the safe side.
66

7-
Minor upgrade of Percona Distribution for PostgreSQL includes the following steps:
8-
9-
1. Stop the `postgresql` cluster
10-
11-
2. Update `percona-release`
12-
3. Install new version packages
13-
14-
4. Restart the `postgresql` cluster.
15-
167
!!! note
178

189
These steps apply if you installed Percona Distribution for PostgreSQL from the Major Release repository. In this case, you are always upgraded to the latest available release.
@@ -42,7 +33,7 @@ Minor upgrade of Percona Distribution for PostgreSQL includes the following step
4233
Run **all** commands as root or via **sudo**:
4334
{.power-number}
4435

45-
1. Stop the `postgresql` service.
36+
1. Stop the `postgresql` service:
4637

4738
=== ":material-debian: On Debian / Ubuntu"
4839

@@ -60,7 +51,7 @@ Run **all** commands as root or via **sudo**:
6051

6152
3. Install new version packages. See [Installing Percona Distribution for PostgreSQL](installing.md).
6253

63-
4. Restart the `postgresql` service.
54+
4. Restart the `postgresql` service:
6455

6556
=== ":material-debian: On Debian / Ubuntu"
6657

@@ -71,9 +62,17 @@ Run **all** commands as root or via **sudo**:
7162
=== ":material-redhat: On Red Hat Enterprise Linux / derivatives"
7263

7364
```{.bash data-prompt="$"}
74-
$ sudo systemctl start postgresql-17
65+
$ sudo systemctl start postgresql-18
7566
```
7667

68+
5. If you use `pg_tde`, update the extension. After restarting the cluster, connect to each database where `pg_tde` is installed and run:
69+
70+
```sql
71+
ALTER EXTENSION pg_tde UPDATE;
72+
```
73+
74+
This updates the extension to the latest installed version and needs to be run in each database where the extension is installed.
75+
7776
!!! note "For minor upgrades (RHEL only)"
7877

7978
During a minor upgrade on RHEL, you may encounter the following error:

0 commit comments

Comments
 (0)