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.ipfire.org/?a=commitdiff_plain;h=9c94d983d67f51cd49be08699f2e35f0e4cb6a63;p=thirdparty%2Fpostgresql.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 6cd32adbf74..b908f17adf6 100644 --- a/src/test/perl/PostgreSQL/Test/Cluster.pm +++ b/src/test/perl/PostgreSQL/Test/Cluster.pm @@ -2527,7 +2527,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.