Skip to content

Commit c14c5c1

Browse files
Merge pull request #6146 from EnterpriseDB/postGIS/v3updates
PostGIS: 3.4 updates
2 parents 0064079 + 9fdcf02 commit c14c5c1

File tree

2 files changed

+34
-29
lines changed

2 files changed

+34
-29
lines changed

product_docs/docs/postgis/3/installing/upgrading.mdx

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,52 +12,56 @@ legacyRedirectsGenerated:
1212

1313
These examples show upgrading for RHEL/CentOS 7 platforms:
1414

15-
- [Example 1: Upgrading from PostGIS version 3.1 to 3.2](/postgis/latest/installing/upgrading/#example-1-upgrading-from-postgis-version-31-to-32)
15+
- [Example 1: Upgrading from PostGIS version 3.3 to 3.4](/postgis/latest/installing/upgrading/#example-1-upgrading-from-postgis-version-33-to-34)
1616
- [Example 2: Upgrading from PostGIS versions 2.5 or later to 3.1.4 on the same EDB Postgres Advanced Server version](/postgis/latest/installing/upgrading/#example-2-upgrading-from-postgis-versions-25-or-later-to-314-on-the-same-edb-postgres-advanced-server-version)
1717
- [Example 3: Upgrading from PostGIS versions earlier than 2.5 to 3.1.4 on a different EDB Postgres Advanced Server version](/postgis/latest/installing/upgrading/#example-3-upgrading-from-postgis-versions-earlier-than-25-to-314-on-a-different-edb-postgres-advanced-server-version)
1818

19-
## Example 1: Upgrading from PostGIS version 3.1 to 3.2
19+
## Example 1: Upgrading from PostGIS version 3.3 to 3.4
2020

21-
This example upgrades from PostGIS version 3.1 to version 3.2 for EDB Postgres Advanced Server 14.
21+
This example upgrades from PostGIS version 3.3 to version 3.4 for EDB Postgres Advanced Server 15.
2222

23-
To avoid accidental upgrades, PostGIS versions 3.1 and 3.2 use different package names. So, upgrading to version 3.2 requires that you first uninstall version 3.1. After you install version 3.2, you can upgrade the PostGIS extensions.
23+
!!!note Upgrades from 3.1.4 and later versions
24+
You can perform upgrades from PostGIS versions 3.1.4 and later (including skip upgrades, e.g. 3.1.4 to 3.4) as described in this example. Ensure you replace the source and target PostGIS versions, as well as the EDB Postgres Advanced Server version in commands accordingly.
25+
!!!
2426

25-
1. If you haven't already, create the PostGIS extensions in PostGIS version 3.1. For instructions, see [Creating extensions](/postgis/latest/02_creating_extensions/).
27+
To avoid accidental upgrades, PostGIS versions 3.3 and 3.4 use different package names. So, upgrading to version 3.4 requires that you first uninstall version 3.3. After you install version 3.4, you can upgrade the PostGIS extensions.
2628

27-
1. Uninstall PostGIS version 3.1.
29+
1. If you haven't already, create the PostGIS extensions in PostGIS version 3.3. For instructions, see [Creating extensions](/postgis/latest/02_creating_extensions/).
30+
31+
1. Uninstall PostGIS version 3.3.
2832

29-
For EDB Posgres Advanced Server version 14:
33+
For EDB Posgres Advanced Server version 15:
3034

3135
```shell
32-
yum -y erase edb-as14-postgis3
36+
dnf -y erase edb-as15-postgis33
3337
```
3438

3539
For earlier versions of EDB Postgres Advanced Server:
3640

3741
```shell
38-
yum erase edb-as<xx>-postgis3
42+
dnf erase edb-as<xx>-postgis33
3943
```
4044

4145
Where `<xx>` is the version of EDB Postgres Advanced Server.
4246

4347
For more information, see [Uninstalling PostGIS](/postgis/latest/installing/uninstalling/).
4448

45-
1. Install PostGIS version 3.2. For instructions, see [Installing PostGIS](/postgis/latest/installing/).
49+
1. Install PostGIS version 3.4. For instructions, see [Installing PostGIS](/postgis/latest/installing/).
4650

4751
1. Upgrade the PostGIS extensions:
4852

4953
!!! Note
50-
If you first upgraded from a PostGIS version earlier than 2.5 to PostGIS version 3.1, then you must `DROP` the `postgis_raster extension` before executing the command.
54+
If you first upgraded from a PostGIS version earlier than 2.5 to PostGIS version 3.1, then you must `DROP` the `postgis_raster extension` before executing the command.
5155
!!!
5256

5357
```sql
5458
SELECT postgis_extensions_upgrade();
5559
__OUTPUT__
56-
NOTICE: Updating extension postgis from 3.1.4 to 3.2.1
57-
NOTICE: Updating extension postgis_sfcgal from 3.1.4 to 3.2.1
58-
NOTICE: Updating extension postgis_raster from 3.1.4 to 3.2.1
59-
NOTICE: Updating extension postgis_topology from 3.1.4 to 3.2.1
60-
NOTICE: Updating extension postgis_tiger_geocoder from 3.1.4 to 3.2.1
60+
NOTICE: Updating extension postgis from 3.3.2 to 3.4.2
61+
NOTICE: Updating extension postgis_sfcgal from 3.3.2 to 3.4.2
62+
NOTICE: Updating extension postgis_raster from 3.3.2 to 3.4.2
63+
NOTICE: Updating extension postgis_topology from 3.3.2 to 3.4.2
64+
NOTICE: Updating extension postgis_tiger_geocoder from 3.3.2 to 3.4.2
6165
postgis_extensions_upgrade
6266
-------------------------------------------------------------------
6367
Upgrade completed, run SELECT postgis_full_version(); for details
@@ -75,7 +79,7 @@ This example upgrades from PostGIS version 2.5.5 to PostGIS version 3.1.4 for ED
7579
1. To upgrade PostGIS version 2.5.5 to PostGIS version 3.1.4 for EDB Postgres Advanced Server 12, assume superuser privileges and invoke:
7680

7781
```shell
78-
yum upgrade edb-as12-postgis-3.1.4 -y
82+
dnf upgrade edb-as12-postgis-3.1.4 -y
7983
```
8084

8185
2. To update extensions, switch to the enterprisedb user, connect to the database where you already created extensions with the psql client application, and invoke:
@@ -131,7 +135,7 @@ Step 1 &mdash; To upgrade PostGIS version 2.4.6 to 3.1.4, you need to upgrade it
131135
2. Assume superuser privileges and upgrade to PostGIS version 3.1.1:
132136

133137
```shell
134-
yum upgrade edb-as10-postgis-3.1.1 -y
138+
dnf upgrade edb-as10-postgis-3.1.1 -y
135139
```
136140

137141
!!! Note
@@ -170,7 +174,7 @@ Step 2 &mdash; Upgrade to PostGIS version 3.1.4:
170174
1. To upgrade PostGIS version 3.1.1 to 3.1.4, invoke the following command for EDB Postgres Advanced Server 10:
171175

172176
```shell
173-
yum upgrade edb-as10-postgis-3.1.4 -y
177+
dnf upgrade edb-as10-postgis-3.1.4 -y
174178
```
175179

176180
2. To update extensions, switch to the enterprisedb user and invoke:
@@ -229,7 +233,7 @@ Step 3 &mdash; Upgrade EDB Postgres Advanced Server version 10 to 14:
229233
2. Install the EDB Postgres Advanced Server version 14:
230234

231235
```shell
232-
yum install edb-as14-server -y
236+
dnf install edb-as14-server -y
233237
```
234238

235239
3. Navigate to the `/bin` directory of EDB Advanced Server 14 and initialize the cluster:
@@ -243,7 +247,7 @@ Step 3 &mdash; Upgrade EDB Postgres Advanced Server version 10 to 14:
243247
4. Install PostGIS version 3.1.4 for EDB Postgres Advanced Server version 14.0:
244248

245249
```shell
246-
yum install edb-as14-postgis3-3.1.4 -y
250+
dnf install edb-as14-postgis3-3.1.4 -y
247251
```
248252

249253
5. Assume superuser privileges and stop the EDB Postgres Advanced Server 14.0 service:

product_docs/docs/postgis/3/supported_platforms.mdx

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ EDB PostGIS is supported on the same platforms as EDB Postgres Advanced Server.
88

99
This table lists the latest PostGIS versions and their supported corresponding EDB Postgres Advanced Server (EPAS) versions.
1010

11-
| PostGIS | EPAS 15 | EPAS 14 | EPAS 13 | EPAS 12 | EPAS 11 |
12-
| ------- | ------- | ------- | ------- | ------- | ------- |
13-
| 3.3 | Y | Y | Y | Y | Y |
14-
| 3.2 | N | Y | Y | Y | Y |
15-
| 3.1 | N | Y | Y | Y | Y |
16-
| 3.0 | N | Y | Y | Y | Y |
17-
| 2.5 | N | N | N | Y | Y |
18-
| 2.4 | N | N | N | N | Y |
11+
| PostGIS | EPAS 16 | EPAS 15 | EPAS 14 | EPAS 13 | EPAS 12 |
12+
|---------|---------|---------|---------|---------|---------|
13+
| 3.4 | Y | Y | Y | Y | Y |
14+
| 3.3 | N | Y | Y | Y | Y |
15+
| 3.2 | N | Y | Y | Y | Y |
16+
| 3.1 | N | N | Y | Y | Y |
17+
| 3.0 | N | N | N | Y | Y |
18+
| 2.5 | N | N | N | N | Y |
19+
| 2.4 | N | N | N | N | N |
1920
| 2.3 | N | N | N | N | N |

0 commit comments

Comments
 (0)