projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ac5d33
)
Fix description of PostgreSQL::Test::Cluster::wait_for_event()
author
Michael Paquier
Fri, 18 Oct 2024 04:50:07 +0000
(13:50 +0900)
committer
Michael Paquier
Fri, 18 Oct 2024 04:50:07 +0000
(13:50 +0900)
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
patch
|
blob
|
blame
|
history
diff --git
a/src/test/perl/PostgreSQL/Test/Cluster.pm
b/src/test/perl/PostgreSQL/Test/Cluster.pm
index fe6ebf10f76cfe002859f8eebe14377c89dfcd72..5b583264ef1080f9570a27e56fc9cfb85ae01452 100644
(file)
--- 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_typ
e)
+=item $node->wait_for_event(
backend_type, wait_event_nam
e)
Poll pg_stat_activity until backend_type reaches wait_event_name.