View a markdown version of this page

Choosing a major version for an RDS for PostgreSQL upgrade - Amazon Relational Database Service

Choosing a major version for an RDS for PostgreSQL upgrade

Major version upgrades can contain changes that are not backward-compatible with previous versions of the database. New functionality can cause your existing applications to stop working correctly. For this reason, Amazon RDS doesn't apply major version upgrades automatically. To perform a major version upgrade, you modify your database manually. Make sure that you thoroughly test any upgrade to verify that your applications work correctly before applying the upgrade to your production databases. When you do a PostgreSQL major version upgrade, we recommend that you follow the steps described in How to perform a major version upgrade for RDS for PostgreSQL.

When you upgrade a PostgreSQL Single-AZ DB instance or Multi-AZ DB instance deployment to its next major version, any read replicas associated with the database are also upgraded to that next major version. In some cases, you can skip to a higher major version when upgrading. If your upgrade skips a major version, the read replicas are also upgraded to that target major version. Upgrades to version 11 that skip other major versions have certain limitations. You can find the details in the steps described in How to perform a major version upgrade for RDS for PostgreSQL.

Most PostgreSQL extensions aren't upgraded during a PostgreSQL engine upgrade. These must be upgraded separately. For more information, see Upgrading PostgreSQL extensions in RDS for PostgreSQL databases.

You can find out which major versions are available for your RDS for PostgreSQL database by running the following AWS CLI query:

aws rds describe-db-engine-versions --engine postgres --engine-version your-version --query "DBEngineVersions[*].ValidUpgradeTarget[*].{EngineVersion:EngineVersion}" --output text

The following table summarizes the results of this query for all available versions. An asterisk (*) on the version number means that the version is no longer supported, or that you can't use it to create new DB instances. For the current support status of each version, see Release calendars for Amazon RDS for PostgreSQL. If your current version is unsupported, we recommend that you upgrade to the newest minor version upgrade target or to one of the other available upgrade targets for that version.

When several versions share a row, the table lists only the upgrade targets that are valid for every version in that row. Individual versions might have additional upgrade targets. To see the full list for your version, run the preceding AWS CLI command.

Current source version Upgrade targets
18.6

None

18.4

18.6

18.3

18.6, 18.4

18.2*

18.6, 18.4, 18.3

18.1

18.6, 18.4, 18.3, 18.2

17.11

18.6

17.10

18.6, 18.4

17.11

17.9

18.6, 18.4, 18.3

17.11, 17.10

17.8*

18.6, 18.4, 18.3, 18.2

17.11, 17.10, 17.9

17.7

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8

17.6

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7

17.5

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7, 17.6

17.4*, 17.3*, 17.2*, 17.1*

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7, 17.6, 17.5

16.15

18.6

17.11

16.14

18.6, 18.4

17.11, 17.10

16.15

16.13

18.6, 18.4, 18.3

17.11, 17.10, 17.9

16.15, 16.14

16.12*

18.6, 18.4, 18.3, 18.2

17.11, 17.10, 17.9, 17.8

16.15, 16.14, 16.13

16.11

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7

16.15, 16.14, 16.13, 16.12

16.10

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7, 17.6

16.15, 16.14, 16.13, 16.12, 16.11

16.9

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7, 17.6, 17.5

16.15, 16.14, 16.13, 16.12, 16.11, 16.10

16.8*, 16.7*, 16.6*, 16.5*, 16.4*, 16.3*, 16.2*, 16.1*

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7, 17.6, 17.5

16.15, 16.14, 16.13, 16.12, 16.11, 16.10, 16.9

15.19

18.6

17.11

16.15

15.18

18.6, 18.4

17.11, 17.10

16.15, 16.14

15.19

15.17

18.6, 18.4, 18.3

17.11, 17.10, 17.9

16.15, 16.14, 16.13

15.19, 15.18

15.16*

18.6, 18.4, 18.3, 18.2

17.11, 17.10, 17.9, 17.8

16.15, 16.14, 16.13, 16.12

15.19, 15.18, 15.17

15.15

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7

16.15, 16.14, 16.13, 16.12, 16.11

15.19, 15.18, 15.17, 15.16

15.14

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7, 17.6

16.15, 16.14, 16.13, 16.12, 16.11, 16.10

15.19, 15.18, 15.17, 15.16, 15.15

15.13

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7, 17.6, 17.5

16.15, 16.14, 16.13, 16.12, 16.11, 16.10, 16.9

15.19, 15.18, 15.17, 15.16, 15.15, 15.14

15.12*, 15.11*, 15.10*, 15.9*, 15.8*, 15.7*, 15.6*, 15.5*, 15.4*, 15.3*, 15.2*

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7, 17.6, 17.5

16.15, 16.14, 16.13, 16.12, 16.11, 16.10, 16.9

15.19, 15.18, 15.17, 15.16, 15.15, 15.14, 15.13

14.24

18.6

17.11

16.15

15.19

14.23

18.6, 18.4

17.11, 17.10

16.15, 16.14

15.19, 15.18

14.24

14.22

18.6, 18.4, 18.3

17.11, 17.10, 17.9

16.15, 16.14, 16.13

15.19, 15.18, 15.17

14.24, 14.23

14.21*

18.6, 18.4, 18.3, 18.2

17.11, 17.10, 17.9, 17.8

16.15, 16.14, 16.13, 16.12

15.19, 15.18, 15.17, 15.16

14.24, 14.23, 14.22

14.20

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7

16.15, 16.14, 16.13, 16.12, 16.11

15.19, 15.18, 15.17, 15.16, 15.15

14.24, 14.23, 14.22, 14.21

14.19

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7, 17.6

16.15, 16.14, 16.13, 16.12, 16.11, 16.10

15.19, 15.18, 15.17, 15.16, 15.15, 15.14

14.24, 14.23, 14.22, 14.21, 14.20

14.18

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7, 17.6, 17.5

16.15, 16.14, 16.13, 16.12, 16.11, 16.10, 16.9

15.19, 15.18, 15.17, 15.16, 15.15, 15.14, 15.13

14.24, 14.23, 14.22, 14.21, 14.20, 14.19

14.17*, 14.16*, 14.15*, 14.14*, 14.13*, 14.12*, 14.11*, 14.10*, 14.9*, 14.8*, 14.7*, 14.6*, 14.5*, 14.4*, 14.3*, 14.2*, 14.1*

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7, 17.6, 17.5

16.15, 16.14, 16.13, 16.12, 16.11, 16.10, 16.9

15.19, 15.18, 15.17, 15.16, 15.15, 15.14, 15.13

14.24, 14.23, 14.22, 14.21, 14.20, 14.19, 14.18

13.23-rds.20260224

18.6, 18.4, 18.3

17.11, 17.10, 17.9

16.15, 16.14, 16.13

15.19, 15.18, 15.17

14.24, 14.23, 14.22

13.23

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7

16.15, 16.14, 16.13, 16.12, 16.11

15.19, 15.18, 15.17, 15.16, 15.15

14.24, 14.23, 14.22, 14.21, 14.20

13.23-rds.20260224

13.22*, 13.21*, 13.20*, 13.19*, 13.18*, 13.17*, 13.16*, 13.15*, 13.14*, 13.13*, 13.12*, 13.11*, 13.10*, 13.9*, 13.8*, 13.7*, 13.6*, 13.5*, 13.4*, 13.3*, 13.2*, 13.1*

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7, 17.6

16.15, 16.14, 16.13, 16.12, 16.11, 16.10

15.19, 15.18, 15.17, 15.16, 15.15, 15.14

14.24, 14.23, 14.22, 14.21, 14.20, 14.19

13.23-rds.20260224, 13.23

12.22-rds.20260224

18.6, 18.4, 18.3

17.11, 17.10, 17.9

16.15, 16.14, 16.13

15.19, 15.18, 15.17

14.24, 14.23, 14.22

13.23-rds.20260224

12.22-rds.20251114

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7

16.15, 16.14, 16.13, 16.12, 16.11

15.19, 15.18, 15.17, 15.16, 15.15

14.24, 14.23, 14.22, 14.21, 14.20

13.23-rds.20260224, 13.23

12.22-rds.20260224

12.22-rds.20250814

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7, 17.6

16.15, 16.14, 16.13, 16.12, 16.11, 16.10

15.19, 15.18, 15.17, 15.16, 15.15, 15.14

14.24, 14.23, 14.22, 14.21, 14.20, 14.19

13.23-rds.20260224, 13.23

12.22-rds.20260224, 12.22-rds.20251114

12.22-rds.20250508

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7, 17.6, 17.5

16.15, 16.14, 16.13, 16.12, 16.11, 16.10, 16.9

15.19, 15.18, 15.17, 15.16, 15.15, 15.14, 15.13

14.24, 14.23, 14.22, 14.21, 14.20, 14.19, 14.18

13.23-rds.20260224, 13.23

12.22-rds.20260224, 12.22-rds.20251114, 12.22-rds.20250814

12.22-rds.20250220

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7, 17.6, 17.5

16.15, 16.14, 16.13, 16.12, 16.11, 16.10, 16.9

15.19, 15.18, 15.17, 15.16, 15.15, 15.14, 15.13

14.24, 14.23, 14.22, 14.21, 14.20, 14.19, 14.18

13.23-rds.20260224, 13.23

12.22-rds.20260224, 12.22-rds.20251114, 12.22-rds.20250814, 12.22-rds.20250508

12.22

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7, 17.6, 17.5

16.15, 16.14, 16.13, 16.12, 16.11, 16.10, 16.9

15.19, 15.18, 15.17, 15.16, 15.15, 15.14, 15.13

14.24, 14.23, 14.22, 14.21, 14.20, 14.19, 14.18

13.23-rds.20260224, 13.23

12.22-rds.20260224, 12.22-rds.20251114, 12.22-rds.20250814, 12.22-rds.20250508, 12.22-rds.20250220

12.21*, 12.20*, 12.19*, 12.18*, 12.17*, 12.16*, 12.15*, 12.14*, 12.13*, 12.12*, 12.11*, 12.10*, 12.9*, 12.8*, 12.7*, 12.6*, 12.5*, 12.4*, 12.3*, 12.2*

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7, 17.6, 17.5

16.15, 16.14, 16.13, 16.12, 16.11, 16.10, 16.9

15.19, 15.18, 15.17, 15.16, 15.15, 15.14, 15.13

14.24, 14.23, 14.22, 14.21, 14.20, 14.19, 14.18

13.23-rds.20260224, 13.23

12.22-rds.20260224, 12.22-rds.20251114, 12.22-rds.20250814, 12.22-rds.20250508, 12.22-rds.20250220, 12.22

11.22-rds.20260224

18.6, 18.4, 18.3

17.11, 17.10, 17.9

16.15, 16.14, 16.13

15.19, 15.18, 15.17

14.24, 14.23, 14.22

13.23-rds.20260224

12.22-rds.20260224

11.22-rds.20251114

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7

16.15, 16.14, 16.13, 16.12, 16.11

15.19, 15.18, 15.17, 15.16, 15.15

14.24, 14.23, 14.22, 14.21, 14.20

13.23-rds.20260224, 13.23

12.22-rds.20260224, 12.22-rds.20251114

11.22-rds.20260224

11.22-rds.20250814

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7, 17.6

16.15, 16.14, 16.13, 16.12, 16.11, 16.10

15.19, 15.18, 15.17, 15.16, 15.15, 15.14

14.24, 14.23, 14.22, 14.21, 14.20, 14.19

13.23-rds.20260224, 13.23

12.22-rds.20260224, 12.22-rds.20251114, 12.22-rds.20250814

11.22-rds.20260224, 11.22-rds.20251114

11.22-rds.20250508

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7, 17.6, 17.5

16.15, 16.14, 16.13, 16.12, 16.11, 16.10, 16.9

15.19, 15.18, 15.17, 15.16, 15.15, 15.14, 15.13

14.24, 14.23, 14.22, 14.21, 14.20, 14.19, 14.18

13.23-rds.20260224, 13.23

12.22-rds.20260224, 12.22-rds.20251114, 12.22-rds.20250814, 12.22-rds.20250508

11.22-rds.20260224, 11.22-rds.20251114, 11.22-rds.20250814

11.22-rds.20250220

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7, 17.6, 17.5

16.15, 16.14, 16.13, 16.12, 16.11, 16.10, 16.9

15.19, 15.18, 15.17, 15.16, 15.15, 15.14, 15.13

14.24, 14.23, 14.22, 14.21, 14.20, 14.19, 14.18

13.23-rds.20260224, 13.23

12.22-rds.20260224, 12.22-rds.20251114, 12.22-rds.20250814, 12.22-rds.20250508, 12.22-rds.20250220

11.22-rds.20260224, 11.22-rds.20251114, 11.22-rds.20250814, 11.22-rds.20250508

11.22-rds.20241121*, 11.22-rds.20240808*, 11.22-rds.20240509*, 11.22-rds.20240418*, 11.22*, 11.21*, 11.20*, 11.19*, 11.18*, 11.17*, 11.16*, 11.15*, 11.14*, 11.13*, 11.12*, 11.11*, 11.10*, 11.9*, 11.8*, 11.7*, 11.6*, 11.5*, 11.4*, 11.2*, 11.1*

18.6, 18.4, 18.3, 18.2, 18.1

17.11, 17.10, 17.9, 17.8, 17.7, 17.6, 17.5

16.15, 16.14, 16.13, 16.12, 16.11, 16.10, 16.9

15.19, 15.18, 15.17, 15.16, 15.15, 15.14, 15.13

14.24, 14.23, 14.22, 14.21, 14.20, 14.19, 14.18

13.23-rds.20260224, 13.23

12.22-rds.20260224, 12.22-rds.20251114, 12.22-rds.20250814, 12.22-rds.20250508, 12.22-rds.20250220, 12.22

11.22-rds.20260224, 11.22-rds.20251114, 11.22-rds.20250814, 11.22-rds.20250508, 11.22-rds.20250220

* This version is no longer supported.