mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03:00
Update obsolete comments and perldoc.
Loose ends from commit 2a0f89cd717ce6d49cdc47850577823682167e87. Daniel Gustafsson
This commit is contained in:
parent
76c0b73df6
commit
bfcd07b444
@ -1184,7 +1184,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
|
||||||
|
|
||||||
@ -1214,7 +1214,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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user