• Tom Lane's avatar
    Make WaitLatch's WL_POSTMASTER_DEATH result trustworthy; simplify callers. · f40022f1
    Tom Lane authored
    Per a suggestion from Peter Geoghegan, make WaitLatch responsible for
    verifying that the WL_POSTMASTER_DEATH bit it returns is truthful (by
    testing PostmasterIsAlive).  Then simplify its callers, who no longer
    need to do that for themselves.  Remove weasel wording about falsely-set
    result bits from WaitLatch's API contract.
    f40022f1
win32_latch.c 7.12 KB