pgsql: Force synchronous commit to be enabled for all test_decodingtes - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Force synchronous commit to be enabled for all test_decodingtes
Date
Msg-id E1gALWt-0002Ci-LS@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Force synchronous commit to be enabled for all test_decoding tests.

Without that the tests fail when forced to be run against a cluster
with synchronous_commit = off (as the WAL might not yet be flushed to
disk by the point logical decoding gets called, and thus the expected
output breaks). Most tests already do that, add it to a few newer tests.

Author: Andres Freund

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ef493055b67d30393a71c59d6fcbc2bd406528c2

Modified Files
--------------
contrib/test_decoding/expected/truncate.out        | 2 ++
contrib/test_decoding/specs/oldest_xmin.spec       | 2 ++
contrib/test_decoding/specs/snapshot_transfer.spec | 2 ++
contrib/test_decoding/sql/truncate.sql             | 3 +++
4 files changed, 9 insertions(+)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Slightly correct context check for event triggers
Next
From: Andres Freund
Date:
Subject: pgsql: Fix logical decoding error when system table w/ toast isrepeate