pgsql: Force synchronous commit to be enabled for all test_decoding tes

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Force synchronous commit to be enabled for all test_decoding tes
Date: 2018-10-10 20:56:27
Message-ID: E1gALWt-0002Ci-LS@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2018-10-10 20:56:28 pgsql: Fix logical decoding error when system table w/ toast is repeate
Previous Message Peter Eisentraut 2018-10-10 20:42:48 pgsql: Slightly correct context check for event triggers