Fix incorrect order of params in comment - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Fix incorrect order of params in comment
Date
Msg-id F9F503B5-32F2-45D7-A0AE-952879AD65F1@yesql.se
Whole thread Raw
List pgsql-hackers
While writing tests today I noticed that the order of the parameters in the POD
docs for log_check() in PostgreSQL::Test::Cluster is wrong, the first parameter
is the test name.  Will apply the below later today with a backpatch to where
26eaf82e7138 went in.

diff --git a/src/test/perl/PostgreSQL/Test/Cluster.pm b/src/test/perl/PostgreSQL/Test/Cluster.pm
index aa5b5316768..fc08f80e27f 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, %parameters)

 Check contents of server logs.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Adding skip scan (including MDAM style range skip scan) to nbtree
Next
From: Stepan Neretin
Date:
Subject: Re: [PATCH] Fix references in comments, and sync up heap_page_is_all_visible() with heap_page_prune_and_freeze()