summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-10-18 13:50:07 +0900
committerMichael Paquier <michael@paquier.xyz>2024-10-18 13:50:07 +0900
commitb8d08aafc0ef8b5f7bf15dcf4bc6af736ee81f15 (patch)
treed1514b12ca305e9b70c024f09df56aeeee1f97c9
parent4ac5d33a8b08eac6e1df235eb38b48e18195c7a4 (diff)
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
-rw-r--r--src/test/perl/PostgreSQL/Test/Cluster.pm2
1 files changed, 1 insertions, 1 deletions
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.