Test: stabilize 039.log_backend_messages test.
authorTatsuo Ishii <ishii@postgresql.org>
Sun, 31 Aug 2025 06:17:54 +0000 (15:17 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Sun, 31 Aug 2025 06:17:54 +0000 (15:17 +0900)
commit8ff2b9f6e7e341b4160bd3b51db464c471c3a97f
treedd215ae2107c644bba4a52b8e135313d0b58cf10
parentd6ddc602e733583052e24e4a59d0949b9e9c89a8
Test: stabilize 039.log_backend_messages test.

In the test a query is sent to standby server right after rows are
inserted into primary server.  Due to a replication lag, the inserted
rows could not be found on the standby in slower machines.  This
commit tries to fix the issue by using synchronous replication with
remote_apply option.

Backpatch-through: v4.2
src/test/regression/tests/039.log_backend_messages/test.sh