PostgreSQL major versions¶
Charmed PostgreSQL is available in multiple versions to support different deployment requirements and lifecycle stages. It is shipped in the following tracks:
Charm name |
Charmhub channel |
Type |
Status |
|---|---|---|---|
PostgreSQL 16 |
|
modern |
|
PostgreSQL 14 |
|
modern |
|
Legacy PostgreSQL charm |
|
legacy |
|
Legacy vs. modern¶
There are two generations of charms stored under the same charm name postgresql. In these docs, we refer to them as “legacy” and “modern”.
- Legacy charm (deprecated)
Also known as a Reactive charm. Found in the Charmhub channel
latest/stable.Provided
dbanddb-adminendpoints for thepgsqlinterface.- Modern charm
Also known as an Ops charm. Found in the Charmhub channels
14/stableand16/stable.14/stableprovides legacy endpoints and newdatabaseendpoint for thepostgresql_clientinterface.16/stabledoes not provide legacy endpoints - only the newdatabasedatabaseendpoint for thepostgresql_clientinterface.