• Tom Lane's avatar
    Fix code so that we recover cleanly if there are no free semaphores · 76355439
    Tom Lane authored
    available in freeSemMap.  As noted by Tatsuo, this is now a likely
    scenario for detecting MaxBackends-exceeded; if MaxBackends is a multiple
    of PROC_NSEMS_PER_SET then we will fail here and not in sinval.c.  The
    cleanup path did not work correctly before, anyway.
    76355439
proc.c 29.6 KB