From 19567b3eb4074c39b48f5557f268c3fb21dfa0f6 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Fri, 18 Oct 2024 13:49:58 +0900 Subject: 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 --- src/test/perl/PostgreSQL/Test/Cluster.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/test/perl/PostgreSQL/Test/Cluster.pm b/src/test/perl/PostgreSQL/Test/Cluster.pm index 110b53ba0dc..007571e948e 100644 --- a/src/test/perl/PostgreSQL/Test/Cluster.pm +++ b/src/test/perl/PostgreSQL/Test/Cluster.pm @@ -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. -- cgit v1.2.3