From 905518d9d523a741b012848715602200e46ed516 Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: Sun, 31 Aug 2025 21:06:01 +0900 Subject: [PATCH] Test: unbreak 039.log_backend_messages. Commit 8ff2b9f6e mistakenly put synchronous commit parameters in pgpool.conf. Unbreak the test by putting the parameters in postgresql.conf. Also check if clustering mode is streaming replication. Because that parameters causes suspends PostgreSQL if clustering mode is other than streaming replication. Backpatch-through: v4.6 --- src/test/regression/tests/039.log_backend_messages/test.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/test/regression/tests/039.log_backend_messages/test.sh b/src/test/regression/tests/039.log_backend_messages/test.sh index 23e077ebb..6fe672e46 100755 --- a/src/test/regression/tests/039.log_backend_messages/test.sh +++ b/src/test/regression/tests/039.log_backend_messages/test.sh @@ -29,15 +29,19 @@ do # We set connection_cache to off so that each time client connects # to pgpool, it receives ready for query from backend. # We set synchronous_commit = remote_apply, and synchronous_standby_names = 'server1' - # so that updation to primary is replicated to standby with no lag. + # in streaming replication mode so that updation to primary is replicated to standby with no lag. cat >> etc/pgpool.conf <> data0/postgresql.conf <> result -- 2.39.5