From: Tatsuo Ishii Date: Sun, 31 Aug 2025 12:06:01 +0000 (+0900) Subject: Test: unbreak 039.log_backend_messages. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=3897b7afd15d265106aedfd9c4c923eca141c6ee;p=pgpool2.git 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 --- 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