PostgreSQL major versions¶
Charmed PostgreSQL is shipped in following tracks:
PostgreSQL 16 (channel
16/stable)PostgreSQL 14 (channel
14/stable)Legacy PostgreSQL charm (channel
latest/stable) -> deprecated
This includes two major PostgreSQL versions, 14 and 16, matching Ubuntu versioning for PostgreSQL.
PostgreSQL 16¶
PostgreSQL 16 is shipped in track 16 and is available for testing in the channel 16/edge.
Released alongside PgBouncer and Data Integrator for Ubuntu 24.04
Base: Noble (Ubuntu 24.04)
Supported architectures: arm64 and amd64.
Supported features¶
LDAP integration (also supported by PostgreSQL
14)SoS report integration (also supported by PostgreSQL
14)Recovery improvements (also supported by PostgreSQL
14)All replicas are now synchronous units
Switchover the primary unit via
promote-to-primary scope=unitRaft re-init helper:
promote-to-primary scope=unit force=yes
Juju user secrets for charm internal passwords
Improved security hardening
New “juju refresh” library (Refresh v3)
Migrated to TLS v4 library
New endpoints
client-certificatesandpeer-certificatesEndpoint
peer-interfacesuses TLS by default
Read more about Charmed PostgreSQL 16 features in the release notes.
Deprecated / removed¶
Legacy interface
psql(endpointsdbanddb-admin).See more about supported interfaces in Interfaces and endpoints.
Support for Juju <
v3.6Charmed PostgreSQL 16 requires Juju
3.6+ LTSdue to Juju secrets support.
Juju actions
get-passwordandset-password.For security reasons, these actions are replaced by Juju secrets.
Timescale Apache 2 edition has been replaced by Timescale Community edition.
The charm action
set-tls-private-keyhas been removed (will be re-introduced as Juju User Secrets)The charm actions
pre-upgrade-checkandresume-upgradehave been removed (replaced withpre-refresh-checkandresume-refreshaccordingly to be consistent withjuju refresh)The charm endpoint
certificateshas been split intoclient-certificatesandpeer-certificates.
PostgreSQL 14¶
PostgreSQL 14 is shipped in track 14 and available for production in the channel 14/stable.
Base: Jammy (Ubuntu 22.04)
Supported architectures: arm64 and amd64.
Supported features¶
Deployment on multiple cloud services
-
Including point-in-time recovery (PITR)
Read more about Charmed PostgreSQL 14 features in the release notes.
Deprecated¶
The track
14is in bug-fixing/support mode. New Charmed PostgreSQL16features will NOT be back-ported to track14.Charmed PostgreSQL 14 ships Timescale Apache 2 edition only.
Legacy PostgreSQL charm¶
The legacy charm in the track latest has been deprecated and is not supported. It is still available here for the historical and comparative reasons only.
Please use the supported tracks of the modern charm: 14/ and 16/.
Learn more in the legacy charm explanation page.