From: Daniel Gustafsson Date: Tue, 13 May 2025 11:29:14 +0000 (-0400) Subject: Fix order of parameters in POD documentation X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=6e289f2d5da02b450f00fb57f0facc60bd73c0d1;p=postgresql.git Fix order of parameters in POD documentation The documentation for log_check() had the parameters in the wrong order. Also while there, rename %parameters to %params to better documentation for similar functions which use %params. Backpatch down to v14 where this was introduced. Author: Daniel Gustafsson Reviewed-by: Michael Paquier Discussion: https://postgr.es/m/9F503B5-32F2-45D7-A0AE-952879AD65F1@yesql.se Backpatch-through: 14 --- diff --git a/src/test/perl/PostgreSQL/Test/Cluster.pm b/src/test/perl/PostgreSQL/Test/Cluster.pm index aa5b5316768..1c11750ac1d 100644 --- a/src/test/perl/PostgreSQL/Test/Cluster.pm +++ b/src/test/perl/PostgreSQL/Test/Cluster.pm @@ -2922,7 +2922,7 @@ sub log_content =pod -=item $node->log_check($offset, $test_name, %parameters) +=item $node->log_check($test_name, $offset, %params) Check contents of server logs.