Skip to content

v3.1.1

Latest

Choose a tag to compare

@nastena1606 nastena1606 released this 01 Dec 13:37
· 47 commits to main since this release

Release highlights

Support for PostgreSQL 19

You can deploy PostgreSQL 19 on Kubernetes with the Operator. This release includes Percona Distribution for PostgreSQL 19.0.1, built from PostgreSQL 19.0.

PostgreSQL 19 adds these abilities:

  • Reclaim table bloat while reads and writes continue, with REPACK (CONCURRENTLY).
  • Pin or adjust a query plan without changing the application, using the pg_plan_advice and pg_stash_advice extensions.
  • Vacuum indexes in parallel, and vacuum the tables that need it first.
  • Turn on logical replication without a server restart, and copy sequence values to a subscriber when you refresh the subscription.
  • Return the existing row when an insert conflicts, with INSERT ... ON CONFLICT DO SELECT.

Read more about PostgreSQL 19 in:

Improved PgBouncer compatibility for pause and resume operations

Percona Operator for PostgreSQL can pause and resume PgBouncer during some operations. When it does, it sends PgBouncer the PAUSE and RESUME commands. Whether the pooler is already paused or isn't paused, the Operator recognizes PgBouncer's reply and treats the command as already done instead of failing.

PgBouncer 1.26 changed the wording of those replies:

  • already suspended/paused became already paused
  • pooler is not paused/suspended became pooler is not paused

The Operator now recognizes both the old and the new wording. Pause and resume work with PgBouncer 1.26 as well as with earlier versions. You don't need to change any configuration.

Changelog

New Features

  • K8SPG-1283 - Added Percona Distribution for PostgreSQL 19 so you can run PostgreSQL 19 on Kubernetes.

Improvements

  • K8SPG-1188 - Fixed the issue where the Operator failed to pause and resume PgBouncer 1.26 because PgBouncer changed the text of its "already paused" and "not paused" replies. The Operator now recognizes both the old and the new text

Documentation updates

  • K8SPG-1227 - Added a Failover and recovery guide that describes how Patroni handles a primary failure, how to recover after permanent node loss, and how to troubleshoot failover.
  • K8SPG-1234 - Added documentation for a planned switchover (role swap) between primary and standby clusters and how to handle a split-brain scenario
  • K8SPG-1230 - Improved Migration guides from Crunchy Data PGO to Percona Operator for PostgreSQL by adding a page that lists the Custom Resource differences between them
  • K8SPG-1231, K8SPG-1232, K8SPG-1233 - Improved the guides for migrating from Crunchy Data PGO: clarified backup strategies, persistent volume handling, expected downtime and configuration requirements, and added examples
  • K8SPG-1228 - Documented how the repository number in the Secret, the global path and repo.name must match when you restore or clone a cluster from dataSource.pgbackrest, and made the required options for cloning from a PostgresCluster easier to follow
  • K8SPG-1167 - Reworked the restore documentation to make the page that helps you choose a restore method, explained how to get restore values from the source cluster for a cluster clone, and added a restore troubleshooting page
  • K8SPG-154 - Documented how to configure separate read and write pools for PgBouncer and the known limitation of this setup

Supported software

This Operator version is developed and tested with Percona Distribution for PostgreSQL and PostgreSQL Community.

Percona Distribution for PostgreSQL

  • PostgreSQL 14.25-2, 15.20-2, 16.16-2, 17.12.1-2, 18.7.1-2, 19.0.1-2 as the database. Other versions may also work but have not been tested.
  • pgBackRest 2.60.1-2 for backup and recovery
  • pgBouncer 1.26.1-2 for connection pooling
  • Patroni version 4.1.5 for high-availability
  • PostGIS version 3.5.7
  • PMM Client version 3.11.0
  • cert-manager 1.21.1

PostgreSQL Community

  • PostgreSQL 14.24, 15.19, 16.15, 17.11, 18.6, and 19 (tech preview) as the database.
  • pgBackRest 2.59.1 for backup and recovery
  • pgBouncer 1.25.2 for connection pooling

Supported platforms

Percona Operators are designed for compatibility with all CNCF-certified Kubernetes distributions.

Our release process includes targeted testing and validation on major cloud provider platforms and OpenShift, as detailed below:

This list only includes the platforms that the Percona Operators are specifically tested on as part of the release process. Other Kubernetes flavors and versions depend on the backward compatibility offered by Kubernetes itself.