aboutsummaryrefslogtreecommitdiff
path: root/src/test/perl/PostgreSQL/Test/Cluster.pm
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-10-18 13:49:58 +0900
committerMichael Paquier <michael@paquier.xyz>2024-10-18 13:49:58 +0900
commit19567b3eb4074c39b48f5557f268c3fb21dfa0f6 (patch)
tree5b2a95f9d012a65cff8c2c5c389b21f38548920b /src/test/perl/PostgreSQL/Test/Cluster.pm
parenteecd9138a0ef565366427a88866d0651530f7da4 (diff)
downloadpostgresql-19567b3eb4074c39b48f5557f268c3fb21dfa0f6.tar.gz
postgresql-19567b3eb4074c39b48f5557f268c3fb21dfa0f6.zip
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
Diffstat (limited to 'src/test/perl/PostgreSQL/Test/Cluster.pm')
-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 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.