From: Daniel Gustafsson <dgustafsson@postgresql.org>
Date: Tue, 13 May 2025 11:29:14 +0000 (-0400)
Subject: Fix order of parameters in POD documentation
X-Git-Tag: REL_14_19~90
X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=7f4ca9edb4055680ecad56ae50891f5c1c6ad808;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 <daniel@yesql.se>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/9F503B5-32F2-45D7-A0AE-952879AD65F1@yesql.se
Backpatch-through: 14
---

diff --git a/src/test/perl/PostgresNode.pm b/src/test/perl/PostgresNode.pm
index 2c2366d1acd..3eafef77926 100644
--- a/src/test/perl/PostgresNode.pm
+++ b/src/test/perl/PostgresNode.pm
@@ -2380,7 +2380,7 @@ sub issues_sql_like
 
 =pod
 
-=item $node->log_check($offset, $test_name, %parameters)
+=item $node->log_check($test_name, $offset, %params)
 
 Check contents of server logs.