From fd84c2b6f0b9f6c661c31e3b201ee7efb6e59aba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20H=2E=20Fjeld?= Date: Wed, 4 Feb 2026 23:18:30 +0100 Subject: [PATCH 1/3] Add PostgreSQL 18 to compatibility version string Update the hardcoded version compatibility message to include PostgreSQL 18. Co-Authored-By: Claude Opus 4.5 --- src/bin/pg_autoctl/cli_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pg_autoctl/cli_common.c b/src/bin/pg_autoctl/cli_common.c index a08b8509b..67955e14e 100644 --- a/src/bin/pg_autoctl/cli_common.c +++ b/src/bin/pg_autoctl/cli_common.c @@ -1524,7 +1524,7 @@ keeper_cli_print_version(int argc, char **argv) "pg_autoctl extension version %s\n", PG_AUTOCTL_EXTENSION_VERSION); fformat(stdout, "compiled with %s\n", PG_VERSION_STR); - fformat(stdout, "compatible with Postgres 13, 14, 15, 16 and 17\n"); + fformat(stdout, "compatible with Postgres 13, 14, 15, 16, 17 and 18\n"); } exit(0); From 215e6e6b1ae651b04eddb73e8ebf0d5f29753240 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20H=2E=20Fjeld?= Date: Thu, 5 Feb 2026 00:18:37 +0100 Subject: [PATCH 2/3] Enable PG18 Docker builds with Citus 14.0 - Use Citus commit 803f0ac from release-14.0 branch (PG18 support) - Add libnuma-dev dependency required by PostgreSQL 18 Tested: single and multi standby tests pass (189 tests total) Co-Authored-By: Claude Opus 4.5 --- Dockerfile | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1df68994d..51c3c0728 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,6 +33,7 @@ RUN apt-get update \ libedit-dev \ libkrb5-dev \ liblz4-dev \ + libnuma-dev \ libncurses6 \ libpam-dev \ libreadline-dev \ diff --git a/Makefile b/Makefile index 711a5ca54..42242b04a 100644 --- a/Makefile +++ b/Makefile @@ -277,7 +277,7 @@ BUILD_ARGS_pg14 = --build-arg PGVERSION=14 --build-arg CITUSTAG=v12.1.5 BUILD_ARGS_pg15 = --build-arg PGVERSION=15 --build-arg CITUSTAG=v12.1.5 BUILD_ARGS_pg16 = --build-arg PGVERSION=16 --build-arg CITUSTAG=$(CITUSTAG) BUILD_ARGS_pg17 = --build-arg PGVERSION=17 --build-arg CITUSTAG=$(CITUSTAG) -BUILD_ARGS_pg18 = --build-arg PGVERSION=18 --build-arg CITUSTAG=$(CITUSTAG) +BUILD_ARGS_pg18 = --build-arg PGVERSION=18 --build-arg CITUSTAG=803f0ac # DOCKER BUILDS From c43cbdd10556095724acc4cf05dc0dcf2ffc0929 Mon Sep 17 00:00:00 2001 From: Mikhail Shirkov Date: Mon, 18 May 2026 21:51:53 +0400 Subject: [PATCH 3/3] Support PG18 in tmux compose --- src/bin/pg_autoctl/cli_do_tmux_compose.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/pg_autoctl/cli_do_tmux_compose.c b/src/bin/pg_autoctl/cli_do_tmux_compose.c index 4395e0509..56168fbd6 100644 --- a/src/bin/pg_autoctl/cli_do_tmux_compose.c +++ b/src/bin/pg_autoctl/cli_do_tmux_compose.c @@ -371,12 +371,13 @@ tmux_compose_docker_build(TmuxOptions *options) } /* prepare Postgres/Citus compatibility matrix */ - char *pgCitusMatrix[18] = { 0 }; + char *pgCitusMatrix[19] = { 0 }; pgCitusMatrix[13] = "v10.2.9"; pgCitusMatrix[14] = "v12.1.5"; pgCitusMatrix[15] = "v12.1.5"; pgCitusMatrix[16] = "v13.0.1"; pgCitusMatrix[17] = "v13.0.1"; + pgCitusMatrix[18] = "803f0ac"; int pgVersionNum; char *citustag = NULL; @@ -387,7 +388,7 @@ tmux_compose_docker_build(TmuxOptions *options) exit(EXIT_CODE_INTERNAL_ERROR); } - if (pgVersionNum > 12 && pgVersionNum < 18) + if (pgVersionNum > 12 && pgVersionNum < 19) { citustag = pgCitusMatrix[pgVersionNum]; }