You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/minor-upgrade.md
+11-12Lines changed: 11 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,6 @@ Minor releases of PostgreSQL include bug fixes and feature enhancements. We reco
4
4
5
5
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.
6
6
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
-
16
7
!!! note
17
8
18
9
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
42
33
Run **all** commands as root or via **sudo**:
43
34
{.power-number}
44
35
45
-
1. Stop the `postgresql` service.
36
+
1. Stop the `postgresql` service:
46
37
47
38
===":material-debian: On Debian / Ubuntu"
48
39
@@ -60,7 +51,7 @@ Run **all** commands as root or via **sudo**:
60
51
61
52
3. Install new version packages. See [Installing Percona Distribution for PostgreSQL](installing.md).
62
53
63
-
4. Restart the `postgresql` service.
54
+
4. Restart the `postgresql` service:
64
55
65
56
===":material-debian: On Debian / Ubuntu"
66
57
@@ -71,9 +62,17 @@ Run **all** commands as root or via **sudo**:
71
62
===":material-redhat: On Red Hat Enterprise Linux / derivatives"
72
63
73
64
```{.bash data-prompt="$"}
74
-
$ sudo systemctl start postgresql-17
65
+
$ sudo systemctl start postgresql-18
75
66
```
76
67
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
+
77
76
!!! note "For minor upgrades (RHEL only)"
78
77
79
78
During a minor upgrade on RHEL, you may encounter the following error:
0 commit comments