]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix order of parameters in POD documentation
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Tue, 13 May 2025 11:29:14 +0000 (07:29 -0400)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Tue, 13 May 2025 11:29:14 +0000 (07:29 -0400)
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

src/test/perl/PostgreSQL/Test/Cluster.pm

index c70bde9fb31a5501b902c8c35469ee8ed3b18e44..c7c74d347a66791cb256e91b966b0bd0f10d94c8 100644 (file)
@@ -2478,7 +2478,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.