postgres.git / summary / log / commit / refs
commit 781568ede6062400acadde6a6b0056ada1c8a4c1
Author: Michael Paquier <michael@paquier.xyz>
Date: Wed Jul 24 22:55:43 2019 +0000
Fix failure with pgperlcritic from the TAP test of synchronous replication
Oversight in 7d81bdc, which introduced a new routine in perl lacking a
return clause. Per buildfarm member crake.
Backpatch down to 9.6 like its parent.
Reported-by: Andrew Dunstan
Discussion: https://postgr.es/m/16da29fa-d504-1380-7095-40de586dc038@2ndQuadrant.com
Backpatch-through: 9.6
src/test/recovery/t/007_sync_rep.pl | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/test/recovery/t/007_sync_rep.pl b/src/test/recovery/t/007_sync_rep.pl
index c88430fb270..5d9bd504e4a 100644
--- a/src/test/recovery/t/007_sync_rep.pl
+++ b/src/test/recovery/t/007_sync_rep.pl
@@ -58,6 +58,7 @@ sub start_standby_and_wait
print("### Waiting for standby \"$standby_name\" on \"$master_name\"\n");
$master->poll_query_until('postgres', $query);
+ return;
}
# Initialize master node
[parent: 2315a261de15]