]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix description of PostgreSQL::Test::Cluster::wait_for_event()
authorMichael Paquier <michael@paquier.xyz>
Fri, 18 Oct 2024 04:50:07 +0000 (13:50 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 18 Oct 2024 04:50:07 +0000 (13:50 +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 fe6ebf10f76cfe002859f8eebe14377c89dfcd72..5b583264ef1080f9570a27e56fc9cfb85ae01452 100644 (file)
@@ -2837,7 +2837,7 @@ sub lsn
 
 =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.