Clean up misuse and nonuse of poll_query_until().
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/test/modules/commit_ts/t/003_standby_2.pl | modified | +2 −1 |
| src/test/perl/PostgresNode.pm | modified | +1 −1 |
| src/test/recovery/t/001_stream_rep.pl | modified | +2 −1 |
| src/test/recovery/t/005_replay_delay.pl | modified | +3 −17 |
| src/test/recovery/t/006_logical_decoding.pl | modified | +6 −3 |
| src/test/recovery/t/010_logical_decoding_timelines.pl | modified | +5 −2 |