pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix 007_sync_rep.pl to notice failures in ALTER SYSTEM SET.
Date: Wed, 28 Aug 2019 10:24:39 +0900
Message-ID: <20190828012439.GA1965@paquier.xyz> (raw)
In-Reply-To: <E1i2M8q-0004CM-Vf@gemulon.postgresql.org>
References: <E1i2M8q-0004CM-Vf@gemulon.postgresql.org>

On Mon, Aug 26, 2019 at 09:03:08PM +0000, Tom Lane wrote:
> Fix 007_sync_rep.pl to notice failures in ALTER SYSTEM SET.
> 
> If a test case tried to set an invalid value of synchronous_standby_names,
> the test script didn't detect that, which seems like a bad idea.
> Noticed while testing a proposed patch that broke some of these
> test cases.

Just for the note.  I think that this needs a closer lookup and I am
afraid that there are more issues like this one.  For example, in
012_subtransactions.pl, pg_reload_conf() is called with
PostgresNode::psql without checking for an error which is a bad idea
after switching to synchonous replication.  Most of the transactions
done in this scrupt should also complain immediately on an error.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (4+ messages)  latest in thread

Message-ID: <20190828012439.GA1965@paquier.xyz>
Permalink:  ../20190828012439.GA1965@paquier.xyz/
Also on:    postgresql.org/message-id/20190828012439.GA1965@paquier.xyz

 · 

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: michael@paquier.xyz, tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Fix 007_sync_rep.pl to notice failures in ALTER SYSTEM SET.
  In-Reply-To: <20190828012439.GA1965@paquier.xyz>
  References: <E1i2M8q-0004CM-Vf@gemulon.postgresql.org> <20190828012439.GA1965@paquier.xyz>

* 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