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:25:23 +0000 (15:25 +0900)
commit0f19fc60aa7f9c4804f02e57078ba0ce6b6c5e5d
tree794fa481955ed9d6dfad77082ea1e9dbb809cb78
parentb4043e6c37c9c256f35108ffd0fffe59bed5ab39
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