From b8d08aafc0ef8b5f7bf15dcf4bc6af736ee81f15 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Fri, 18 Oct 2024 13:50:07 +0900 Subject: [PATCH] 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(-) 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.