aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_rewind/t/002_databases.pl
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2018-05-27 09:08:42 -0400
committerAndrew Dunstan <andrew@dunslane.net>2018-05-27 09:08:42 -0400
commit3a7cc727c7c502353dbb730a0db793abec4de44b (patch)
treec140b2974559d0a13d98c132ae52f7d0992aff95 /src/bin/pg_rewind/t/002_databases.pl
parent8a56ff484808e9c05df9656cf4244229e8c7960d (diff)
downloadpostgresql-3a7cc727c7c502353dbb730a0db793abec4de44b.tar.gz
postgresql-3a7cc727c7c502353dbb730a0db793abec4de44b.zip
Don't fall off the end of perl functions
This complies with the perlcritic policy Subroutines::RequireFinalReturn, which is a severity 4 policy. Since we only currently check at severity level 5, the policy is raised to that level until we move to level 4 or lower, so that any new infringements will be caught. A small cosmetic piece of tidying of the pgperlcritic script is included. Mike Blackwell Discussion: https://postgr.es/m/CAESHdJpfFm_9wQnQ3koY3c91FoRQsO-fh02za9R3OEMndOn84A@mail.gmail.com
Diffstat (limited to 'src/bin/pg_rewind/t/002_databases.pl')
-rw-r--r--src/bin/pg_rewind/t/002_databases.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/pg_rewind/t/002_databases.pl b/src/bin/pg_rewind/t/002_databases.pl
index bef0e173dca..2c9e4278311 100644
--- a/src/bin/pg_rewind/t/002_databases.pl
+++ b/src/bin/pg_rewind/t/002_databases.pl
@@ -53,6 +53,7 @@ template1
}
RewindTest::clean_rewind_test();
+ return;
}
# Run the test in both modes.