summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier2024-10-18 04:49:58 +0000
committerMichael Paquier2024-10-18 04:49:58 +0000
commit19567b3eb4074c39b48f5557f268c3fb21dfa0f6 (patch)
tree5b2a95f9d012a65cff8c2c5c389b21f38548920b
parenteecd9138a0ef565366427a88866d0651530f7da4 (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 110b53ba0d..007571e948 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.