mirror of
https://github.com/postgres/postgres.git
synced 2025-06-22 02:52:08 +03:00
Update obsolete comments and perldoc.
Loose ends from commit 2a0f89cd71
.
Daniel Gustafsson
This commit is contained in:
@ -1192,7 +1192,7 @@ sub psql
|
|||||||
=item $node->poll_query_until(dbname, query)
|
=item $node->poll_query_until(dbname, query)
|
||||||
|
|
||||||
Run a query once a second, until it returns 't' (i.e. SQL boolean true).
|
Run a query once a second, until it returns 't' (i.e. SQL boolean true).
|
||||||
Continues polling if psql returns an error result. Times out after 90 seconds.
|
Continues polling if psql returns an error result. Times out after 180 seconds.
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
@ -1222,7 +1222,7 @@ sub poll_query_until
|
|||||||
$attempts++;
|
$attempts++;
|
||||||
}
|
}
|
||||||
|
|
||||||
# The query result didn't change in 90 seconds. Give up. Print the stderr
|
# The query result didn't change in 180 seconds. Give up. Print the stderr
|
||||||
# from the last attempt, hopefully that's useful for debugging.
|
# from the last attempt, hopefully that's useful for debugging.
|
||||||
diag $stderr;
|
diag $stderr;
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user