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
Also known as a Reactive charm. Found in the Charmhub channel
latest/stable
.Provided
db
anddb-admin
endpoints for thepgsql
interface.- Modern charm
Also known as an Ops charm. Found in the Charmhub channels
14/stable
and16/stable
.14/stable
provides legacy endpoints and newdatabase
endpoint for thepostgresql_client
interface.16/stable
does not provide legacy endpoints - only the newdatabase
database
endpoint for thepostgresql_client
interface.