pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Clean up misuse and nonuse of poll_query_until().
Date: Sat, 01 Jul 2017 18:25:17 +0000
Message-ID: <E1dRN53-0007NA-0T@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Clean up misuse and nonuse of poll_query_until().

Several callers of PostgresNode::poll_query_until() neglected to check
for failure; I do not think that's optional.  Also, rewrite one place
that had reinvented poll_query_until() for no very good reason.

Branch
------
master

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

Modified Files
--------------
src/test/modules/commit_ts/t/003_standby_2.pl        |  3 ++-
src/test/perl/PostgresNode.pm                        |  2 +-
src/test/recovery/t/001_stream_rep.pl                |  3 ++-
src/test/recovery/t/005_replay_delay.pl              | 20 +++-----------------
src/test/recovery/t/006_logical_decoding.pl          |  9 ++++++---
.../recovery/t/010_logical_decoding_timelines.pl     |  7 +++++--
6 files changed, 19 insertions(+), 25 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1dRN53-0007NA-0T@gemulon.postgresql.org>
Permalink:  ../E1dRN53-0007NA-0T@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1dRN53-0007NA-0T@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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Clean up misuse and nonuse of poll_query_until().
  In-Reply-To: <E1dRN53-0007NA-0T@gemulon.postgresql.org>
  References: <E1dRN53-0007NA-0T@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