Charm channels / PostgreSQL versions
Charmed PostgreSQL is being shipped using the following tracks with two major PostgreSQL versions 14
and 16 (matching Ubuntu versioning for PostgreSQL):
- PostgreSQL 16 (channel
16/candidate
) - PostgreSQL 14 (channel
14/stable
) - Legacy PostgreSQL charm (channel
latest/stable
).
PostgreSQL 16
PostgreSQL 16 has been shipped in track 16
and available for testing in the channel 16/candidate
. The main features are:
- All features of PostgreSQL 14 (except the deprecation list below)
- Noble based charm: 24.04
- Multiple Juju Storages support (WIP)
- Juju User Secrets support for system password rotation
- Supports LDAP integration (also released to PG14)
- Juju Spaces support (WIP)
- Timescale Community edition support
- Refresh v3 lib support (WIP VM)
- Improved built-in Roles (WIP)
- Released slim PostgreSQL SNAP
- Extended COS with:
- Improved hardening
- PgBouncer/[email protected] included!
- SoS report integrated (also supports PG14)
- Recovery improvements (also released to PG14):
- All members are sync nodes now
- Switchover to dedicated unit via
promote-to-primary
- Raft re-init helper:
juju run ... promote-to-primary scope=unit force=yes
See the detailed features list on the release notes page.
Deprecation:
- PostgreSQL 16 does NOT support legacy interfaces
pgsql
(endpointsdb
anddb-admin
). Please migrate to the modern interfacepostgresql_client
. - Juju 3.6+ LTS is required (as Juju 2.9 LTS does NOT support Juju Secrets).
- For the improved security reasons, Charmed PostgreSQL 16+ does NOT ship
get-password
/set-password
actions anymore. Please use Juju User Secrets instead. - Charmed PostgreSQL 16 ships Timescape Community edition only.
PostgreSQL 14
PostgreSQL 14 has been shipped in track 14
and available for production in the channel 14/stable
. The main features are:
- Jammy based charm: 22.04
- Supports all supported clouds
- Supports backup/restore (including PITR)
- Supports COS integration
- Supports TLS integration
- Supports LDAP integration
- Architectures amd64/arm64
See the detailed features list on the release notes page.
Deprecation:
- Charmed PostgreSQL 14 is in LTS mode therefor all new features are being added to PostgreSQL 16 charm only.
- Charmed PostgreSQL 14 ships Timescape Apache 2 edition only.
Legacy PostgreSQL charm
Warning: the legacy charm in the track
latest
has been deprecated and not supported! It is still available here for the historical/backward comparability reasons only. Please use supported track of the modern charm.
Please read more about the legacy charm on the dedicated page.