From 75dbe4ff96a7443fde4fe3d2ddc7492ec2710530 Mon Sep 17 00:00:00 2001 From: Alexander Kukushkin Date: Thu, 14 Sep 2023 19:36:26 +0200 Subject: [PATCH] Update supported Postgres versions (#2857) --- .github/workflows/install_deps.py | 4 ++-- .github/workflows/mapping.py | 2 +- README.rst | 2 +- docs/index.rst | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/install_deps.py b/.github/workflows/install_deps.py index 29acb701..ea0c9d1b 100644 --- a/.github/workflows/install_deps.py +++ b/.github/workflows/install_deps.py @@ -45,8 +45,8 @@ def install_packages(what): packages['exhibitor'] = packages['zookeeper'] packages = packages.get(what, []) ver = versions.get(what) - if float(ver) >= 15: - packages += ['postgresql-{0}-citus-11.2'.format(ver)] + if float(ver) == 15: + packages += ['postgresql-{0}-citus-12.0'.format(ver)] subprocess.call(['sudo', 'apt-get', 'update', '-y']) return subprocess.call(['sudo', 'apt-get', 'install', '-y', 'postgresql-' + ver, 'expect-dev'] + packages) diff --git a/.github/workflows/mapping.py b/.github/workflows/mapping.py index 397a4cc7..f75efec4 100644 --- a/.github/workflows/mapping.py +++ b/.github/workflows/mapping.py @@ -1 +1 @@ -versions = {'etcd': '9.6', 'etcd3': '14', 'consul': '13', 'exhibitor': '12', 'raft': '11', 'kubernetes': '15'} +versions = {'etcd': '9.6', 'etcd3': '16', 'consul': '13', 'exhibitor': '12', 'raft': '11', 'kubernetes': '15'} diff --git a/README.rst b/README.rst index f8f187e4..decc868f 100644 --- a/README.rst +++ b/README.rst @@ -12,7 +12,7 @@ Patroni is a template for high availability (HA) PostgreSQL solutions using Pyth We call Patroni a "template" because it is far from being a one-size-fits-all or plug-and-play replication system. It will have its own caveats. Use wisely. -Currently supported PostgreSQL versions: 9.3 to 15. +Currently supported PostgreSQL versions: 9.3 to 16. **Note to Citus users**: Starting from 3.0 Patroni nicely integrates with the `Citus `__ database extension to Postgres. Please check the `Citus support page `__ in the Patroni documentation for more info about how to use Patroni high availability together with a Citus distributed cluster. diff --git a/docs/index.rst b/docs/index.rst index 440f2278..c8f94aaf 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -10,7 +10,7 @@ Patroni is a template for high availability (HA) PostgreSQL solutions using Pyth We call Patroni a "template" because it is far from being a one-size-fits-all or plug-and-play replication system. It will have its own caveats. Use wisely. There are many ways to run high availability with PostgreSQL; for a list, see the `PostgreSQL Documentation `__. -Currently supported PostgreSQL versions: 9.3 to 15. +Currently supported PostgreSQL versions: 9.3 to 16. **Note to Citus users**: Starting from 3.0 Patroni nicely integrates with the `Citus `__ database extension to Postgres. Please check the :ref:`Citus support page ` in the Patroni documentation for more info about how to use Patroni high availability together with a Citus distributed cluster.