Fix incorrect order of params in comment

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Fix incorrect order of params in comment
Date: 2025-05-09 17:21:17
Message-ID: F9F503B5-32F2-45D7-A0AE-952879AD65F1@yesql.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stepan Neretin 2025-05-09 17:22:12 Re: [PATCH] Fix references in comments, and sync up heap_page_is_all_visible() with heap_page_prune_and_freeze()
Previous Message Tomas Vondra 2025-05-09 17:19:31 Re: Adding skip scan (including MDAM style range skip scan) to nbtree