From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Clean up misuse and nonuse of poll_query_until(). |
Date: | 2017-07-01 18:25:17 |
Message-ID: | E1dRN53-0007NA-0T@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2017-07-02 03:09:06 | pgsql: Refine memory allocation in ICU conversions |
Previous Message | Tom Lane | 2017-07-01 16:16:11 | pgsql: Reduce delay for last logicalrep feedback message when master go |