Fix description of PostgreSQL::Test::Cluster::wait_for_event()
authorMichael Paquier <[email protected]>
Fri, 18 Oct 2024 04:49:58 +0000 (13:49 +0900)
committerMichael Paquier <[email protected]>
Fri, 18 Oct 2024 04:49:58 +0000 (13:49 +0900)
The arguments of the function were listed in an incorrect order in the
description of the routine.  This information can be seen with perldoc.

Issue spotted while working on this area of the code.

Backpatch-through: 17

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

index 110b53ba0dcff2cb3ea4925b32dadac8d131e43f..007571e948e6744ac34861f56524aca8f4e6d8c9 100644 (file)
@@ -2961,7 +2961,7 @@ sub check_extension
 
 =pod
 
-=item $node->wait_for_event(wait_event_name, backend_type)
+=item $node->wait_for_event(backend_type, wait_event_name)
 
 Poll pg_stat_activity until backend_type reaches wait_event_name.