summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dunstan2012-09-06 03:13:14 +0000
committerAndrew Dunstan2012-09-06 03:13:14 +0000
commitbdf8f58397dc83618dccd8f85a46a02933a7f86f (patch)
tree80f1fdcda9743edc5d94d0003de51ad5f085ea0e /src
parent4b8dacfcef7ad16939ec8695019747fb45a80847 (diff)
In pg_upgrade, try a few times to open a log file.
If we call pg_ctl stop, the server might continue and thus hold a log file for a short time after it has deleted its pid file, (which is when pg_ctl will exit), and so a subsequent attempt to open the log file might fail. We therefore try to open it a few times, sleeping one second between tries, to give the server time to exit. This corrects an error that was observed on the buildfarm. Backpatched to 9.2,
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions