aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2013-10-05 23:24:50 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2013-10-05 23:52:04 -0300
commitbf2617981ceb88bdcd3cba58308d68f0c4ea3de2 (patch)
tree13c8501326f719270cc240d0b8824bbf446907b4 /doc/src
parent2d6c0f10ef4f34d757e49a9815c22045d8ba6980 (diff)
downloadpostgresql-bf2617981ceb88bdcd3cba58308d68f0c4ea3de2.tar.gz
postgresql-bf2617981ceb88bdcd3cba58308d68f0c4ea3de2.zip
Fix various bugs in postmaster SIGKILL processing
Clamp the minimum sleep time during immediate shutdown or crash to a minimum of zero, not a maximum of one second. The previous code could result in a negative sleep time, leading to failure in select() calls. Also, on crash recovery, reset AbortStartTime as soon as SIGKILL is sent or abort processing has commenced instead of waiting until the startup process completes. Reset AbortStartTime as soon as SIGKILL is sent, too, to avoid doing that repeatedly. Per trouble report from Jeff Janes on CAMkU=1xd3=wFqZwwuXPWe4BQs3h1seYo8LV9JtSjW5RodoPxMg@mail.gmail.com Author: MauMau
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions