From: Michael Paquier Date: Fri, 18 Oct 2024 04:50:07 +0000 (+0900) Subject: Fix description of PostgreSQL::Test::Cluster::wait_for_event() X-Git-Tag: REL_17_1~54 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b8d08aafc0ef8b5f7bf15dcf4bc6af736ee81f15;p=thirdparty%2Fpostgresql.git Fix description of PostgreSQL::Test::Cluster::wait_for_event() 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 --- diff --git a/src/test/perl/PostgreSQL/Test/Cluster.pm b/src/test/perl/PostgreSQL/Test/Cluster.pm index fe6ebf10f76..5b583264ef1 100644 --- a/src/test/perl/PostgreSQL/Test/Cluster.pm +++ b/src/test/perl/PostgreSQL/Test/Cluster.pm @@ -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.