From 2a6414c727eb96a40389cd169a33a6da39600bdd Mon Sep 17 00:00:00 2001 From: Naisila Puka <37271756+naisila@users.noreply.github.com> Date: Tue, 7 Oct 2025 12:17:08 +0300 Subject: [PATCH] PG18: use data-checksums by default in upgrades (#8230) Checksums are now on by default in PG18: 04bec894a Upgrade to PG18 fails with the following error: `old cluster does not use data checksums but the new one does` To overcome this error, we add --data-checksums option such that clusters with PG less than 18 also use data checksums. Fixes #8229 --- src/test/regress/citus_tests/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/regress/citus_tests/common.py b/src/test/regress/citus_tests/common.py index 00398767e..c3ba14ac8 100644 --- a/src/test/regress/citus_tests/common.py +++ b/src/test/regress/citus_tests/common.py @@ -137,6 +137,7 @@ def initialize_db_for_cluster(pg_path, rel_data_path, settings, node_names): # --allow-group-access is used to ensure we set permissions on # private keys correctly "--allow-group-access", + "--data-checksums", "--encoding", "UTF8", "--locale",