pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Force synchronous commit to be enabled for all test_decoding tes
Date: Wed, 10 Oct 2018 20:56:27 +0000
Message-ID: <E1gALWt-0002Ci-LS@gemulon.postgresql.org> (raw)

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(+)



Message-ID: <E1gALWt-0002Ci-LS@gemulon.postgresql.org>
Permalink:  ../E1gALWt-0002Ci-LS@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gALWt-0002Ci-LS@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: Force synchronous commit to be enabled for all test_decoding tes
  In-Reply-To: <E1gALWt-0002Ci-LS@gemulon.postgresql.org>
  References: <E1gALWt-0002Ci-LS@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox