diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-07-25 07:55:33 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-07-25 07:55:33 +0900 |
commit | 917e817ec24ffdded5adfa4e1dfc14f574844929 (patch) | |
tree | 0c86dcaf61aa7da85786e0bb540d4c0b87d5383a /src | |
parent | cff13efb4a7185bfdd95c96b1c61b2090e515be4 (diff) | |
download | postgresql-917e817ec24ffdded5adfa4e1dfc14f574844929.tar.gz postgresql-917e817ec24ffdded5adfa4e1dfc14f574844929.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/test/recovery/t/007_sync_rep.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/recovery/t/007_sync_rep.pl b/src/test/recovery/t/007_sync_rep.pl index a84022112b1..eccde8f551f 100644 --- a/src/test/recovery/t/007_sync_rep.pl +++ b/src/test/recovery/t/007_sync_rep.pl @@ -42,6 +42,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 |