Skip to content

Releases: canonical/postgresql-operator

Revisions 1090, 1091

13 Apr 12:10
9096d12

Choose a tag to compare

Revisions 1090, 1091 Pre-release
Pre-release

A new revision of Charmed PostgreSQL VM has been published in the 14/stable channel on Charmhub.

System requirements | How to upgrade

Compatibility

Architecture Charm revision Snap version PostgreSQL version Recommended Juju version
amd64 1090 281 14.22 3.6.21
arm64 1091 280 14.22 3.6.21

Features

Bug fixes

Note on COS Otelcol and grafana-agent

Charmed PostgreSQL is currently incompatible with the COS Otelcol (opentelemetry-collector) subordinate charm. The current recommended and tested way of integrating with PostgreSQL with COS is via the grafana-agent charm.

In this release, the Data team attempted to add Otelcol compatibility (see PR #1484), but this change broke compatibility with the grafana-agent charm. For more information about the incompatibility, see this thread.

We reverted this change in PR #1607 to maintain compatibility with grafana-agent, and are working on making PostgreSQL compatible with both opentelemetry-collector and grafana-agent in a future stable release.

Full Changelog: rev1044...rev1090

Revisions 1044, 1045

02 Mar 12:30
b744c1e

Choose a tag to compare

A new revision of Charmed PostgreSQL VM has been published in the 14/stable channel on Charmhub.

System requirements | How to upgrade

Compatibility

Architecture Charm revision Snap version PostgreSQL version Min. recommended Juju version
amd64 1045 247 14.20 3.6.14+
arm64 1044 246 14.20 3.6.14+

Features

Bug fixes

Full Changelog: rev986...rev1044

Revisions 1046, 1047

02 Mar 12:39
c824908

Choose a tag to compare

A new revision of Charmed PostgreSQL VM has been published in the 16/stable channel on Charmhub.

System requirements | How to upgrade

Compatibility

Architecture Charm revision Snap version PostgreSQL version Min. recommended Juju version
amd64 1047 244 16.11 3.6.14+
arm64 1046 242 16.11 3.6.14+

Features

Bug fixes

Full Changelog: v16/1.165.0...v16/1.206.0

Revisions 989, 990

15 Jan 15:48
2205f86

Choose a tag to compare

A new revision of Charmed PostgreSQL VM has been published in the 16/stable channel on Charmhub.

This release upgrades the PostgreSQL version to 16.11.

System requirements | How to upgrade

Compatibility

Architecture Charm revision Snap version PostgreSQL version Min. recommended Juju version
amd64 990 244 16.11 3.6.1+
arm64 989 242 16.11 3.6.1+

Highlights

  • [DPE-9018] Bumped PostgreSQL to 16.11 by @taurus-forever in #1332
    • Check the official PostgreSQL 16.11 release notes
  • [DPE-8860] New charm configs for worker process and WAL compression by @onkolahmet in #1284
  • [DPE-7302] Ability to request database access by prefix by @dragomirp in #1238

Features

Bug fixes

Full Changelog: v16/1.135.0...v16/1.165.0

Revisions 986, 987

15 Jan 15:43
529504c

Choose a tag to compare

A new revision of Charmed PostgreSQL VM has been published in the 14/stable channel on Charmhub.

This release upgrades the PostgreSQL version to 14.20.

System requirements | How to upgrade

Compatibility

Architecture Charm revision Snap version PostgreSQL version Min. recommended Juju version
amd64 987 245 14.20 3.6.1+
arm64 986 243 14.20 3.6.1+

Highlights

  • [DPE-9018] Bumped PostgreSQL version to 14.20 by @taurus-forever in #1331
    • Check the official PostgreSQL 14.20 release notes
  • [DPE-8948] Added worker process and WAL compression configuration options by @onkolahmet in #1344
  • [DPE-3589] PgBackrest Dashboard and improved alert rules by @Deezzir in #1191

Bug fixes

New Contributors

Full Changelog: rev935...rev986

Revisions 951, 952

29 Oct 15:20
6e8a23b

Choose a tag to compare

A new revision of Charmed PostgreSQL VM has been published in the 16/stable channel on Charmhub.

This release upgrades the PostgreSQL version to 16.10.

System requirements | How to upgrade

Compatibility

Architecture Charm revision Snap version PostgreSQL version Minimum Juju version
amd64 952 239 16.10 3.6.1+
arm64 951 240 16.10 3.6.1+

Highlights

Features

Bugfixes

New contributors

Full Changelog: v16/1.59.0...v16/1.134.0

Revisions 935, 936 in 14/stable

16 Oct 22:17
9ca9207

Choose a tag to compare

A new revision of Charmed PostgreSQL VM has been published in the 14/stable channel on Charmhub.

This release upgrades the PostgreSQL version to 14.19, and introduces several security and stability improvements.

System requirements | How to upgrade

Compatibility

Architecture Charm revision Snap version PostgreSQL version Minimum Juju version
amd64 936 229 14.19 3.6.1+
arm64 935 230 14.19 3.6.1+

Features

  • [DPE-8296] Updated PostgreSQL from 14.15 to 14.19 (#1147)
  • [DPE-8470] Updated Patroni to 3.3.8 (#1197)
    • Set all nodes to synchronous replicas by default (#672)
    • Enable Patroni synchronous strict mode (#1196)
    • Make scope mandatory for the promote-to-primary action (#856)
    • Prevented restarts during initial sync (#1000)
    • Removed re-initialization for delayed replication (#1168)
    • Automate raft re-initialization (disaster recovery) (#611)
  • [DPE-6898] Restrict user-to-database access via pg_hba rules (#885)
  • Speedup deployments by hashing configuration (#1166)
  • [DPE-6345] Introduced LDAP integration (#824)
  • [DPE-6678] Expand Charmed PostgreSQL configurations (#778)
    • new wal_keep_size config option (#799)
    • new max_locks_per_transaction config option (#718)
  • [DPE-6555] Added read-only URIs (#783)
  • [DPE-6664] Made username mandatory in the set-password action (#846)
  • [DPE-7549] Added backup compression and restore max-process options (#1009)
  • [DPE-6062] Allow backup --restore-to-time=latest without a backup-id (#683)
  • Added conditional expose Terraform directive (#853)
  • Updated versions and release documentation (#1158)
  • [SECURITY] Updated dependency cryptography to v44.0.1 (#764)

Bug fixes

  • [DPE-6323] Handle missing stanza output (#727)
  • [DPE-6874] Poll all members in the cluster topology script (#810)
  • Extended relation-user listing syntax (#868)
  • [DPE-7723] Corrected architecture for revisions 429/430 in releases.md (#1046)
  • [DPE-6259] Fixed pgbackrest configuration permissions (#1038)
  • [DPE-7968] Bumped snap revision (removed python3-boto3 for CVE-2023-37920) (#1109)
  • Prevent blocking if the snap could not be installed (#1136)
  • Restore raft encryption check on upgrade (#1146)
  • [DPE-8005] Handle empty region values (#1157)
  • [DPE-8296] Downgraded promote.yaml to _promote_charm.yaml@v31.1.1 (#1161)
  • [DPE-8337] Disabled Patroni configuration to prevent possible data loss (#1173)
  • [DPE-8430][DPE-8427] Muted error message to debug level and improved creation of access roles (#1186)

New Contributors

Full Changelog: rev552...rev935

Revisions 843, 844 in 16/stable

11 Jul 21:53
a7aaea9

Choose a tag to compare

The first stable revision of Charmed PostgreSQL 16 for VM has been released in the 16/stable channel on Charmhub. Besides a major workload upgrade from PostgreSQL 14.15 to 16.9, this release comes with several new features and improvements.

Thank you to everybody who helped make this release happen! 🧑‍🤝‍🧑

Charmhub | Deployment guides | System requirements

Features

Breaking changes

  • Deprecated legacy interface psql - Endpoints db and db-admin are no longer supported
  • Support for Juju < v3.6 removed
    • Charmed PostgreSQL 16 requires Juju 3.6+ LTS due to Juju secrets support
  • Juju actions get-password and set-password removed
  • Timescale Apache 2 edition replaced by Timescale Community edition
  • Charm action set-tls-private-key removed
    • Will be re-introduced as Juju user secrets in future releases
  • Charm actions renamed for consistency with juju refresh terminology
    • pre-upgrade-checkpre-refresh-check
    • resume-upgraderesume-refresh
  • **Charm endpoint certificates split into separate endpoints
    • client-certificates - For client certificate management
    • peer-certificates - For peer-to-peer certificate management

Bug fixes

Compatibility

Charmed PostgreSQL 16 is built for Noble (Ubuntu 24.04), and supports arm64 and amd64.

Charmhub revision (amd, arm) Snap revision (amd, arm) PostgreSQL version Minimum Juju version*
843, 844 218, 219 16.9 3.6

* We recommend always using the latest Juju LTE version when possible.

Upgrading from 14 to 16

We currently do not support in-place upgrades from PostgreSQL 14 to 16, but we are developing a guide with instructions on how to perform this upgrade manually.

In the meantime, contact us if you have any questions or support needs.

New contributors

We have 15 new contributors to Charmed PostgreSQL codebase! 🏆

Full Changelog: https://github.com/canonical/postgresql-operator/commits/v16/1.59.0

Revisions 552, 553 in 14/stable

13 Feb 11:54
ac5df63

Choose a tag to compare

A new revision of Charmed PostgreSQL has been published in the 14/stable channel.

See also: Releases overview page, How to perform an upgrade

What's changed

This section outlines the most important highlights, features and bug fixes in this release.

Highlights

Minor features

  • Several S3 stability improvements (PR #642)
  • Removed patching of private ops class. (PR #617)
  • Switched charm libs from tempo_k8s to tempo_coordinator_k8s and relay tracing traffic through grafana-agent (PR #640)
  • Implemented more meaningful group naming for multi-group tests (PR #625)
  • Ignoring alias error in case alias is already existing (PR #637)
  • Stopped tracking channel for held snaps (PR #638)
  • Added pgBackRest logrotate configuration (PR #645) (DPE-5601)
  • Grant priviledges to non-public schemas (PR #647) (DPE-5387)
  • Added tls and tls-ca fields to databag (PR #666)
  • Merged update_tls_flag into update_endpoints (PR #669)
  • Made tox commands resilient to white-space paths (PR #678) (DPE-6042)
  • Added microceph (local backup) integration test + bump snap version (PR #633) (DPE-5386)
  • Add max_locks_per_transaction config option in (PR#718) (DPE-5533)
  • Split PITR backup test in AWS and GCP (PR #605) (DPE-5181)

Bug fixes

  • Juju secrets resetting fix on Juju 3.6 in (PR#726) (DPE-6320) (DPE-6325)
  • Fallback to trying to create bucket without LocationConstraint in (PR#690)
  • Added warning logs to Patroni reinitialisation (PR #660)
  • Fixed some postgresql.conf parameters for hardening (PR #621) (DPE-5512)
  • Fixed lib check (PR #627)
  • Allow --restore-to-time=latest without a backup-id in (PR#683)
  • Clean-up duplicated Patroni config reloads in (PR#682)
  • Filter out degraded read only endpoints in (PR#679) (DPE-5714)
  • remove clutter from singlestat panels in cos (PR#702)
  • Catch wrong parameters exception on bucket create function call (PR#701) (DPE-5713)
  • Split topology script (PR#729) (DPE-6377)
  • Fix typos in COS alert rules (PR#724) (DPE-6171)
  • Add plugins preload libs to regular startup parameters (PR#741) (DPE-6056)

Full Changelog: rev467...rev552

Requirements

The minimum Juju version required to reliably operate all features in this release is v3.4.3.

The recommended Juju version for this charm is v3.6.1+.

See the system requirements for more details about Juju versions and other software and hardware prerequisites.

Revisions 467, 468

18 Sep 12:56
5d05a9e

Choose a tag to compare

A new revision of Charmed PostgreSQL has been published in the 14/stable channel.

See also: Releases overview page, How to perform an upgrade

What's changed

This section outlines the most important highlights, features and bug fixes in this release.

Highlights

Minor features

Bug fixes

Full Changelog: rev429...rev467

Known limitations

Requirements

The minimum Juju version required to reliably operate all features in this release is v3.4.3+.

See the system requirements for more details about Juju versions and other software and hardware prerequisites.