aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/beard.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-09-04 21:42:17 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-09-04 21:42:17 +0000
commit763554393a9c816a8b95d068a8137e18e33f824c (patch)
tree5135c6bbc76b060f15329431f517701858d16791 /src/tutorial/beard.c
parent29c22eec8c52455b5c2252b77521fb29681efe2d (diff)
downloadpostgresql-763554393a9c816a8b95d068a8137e18e33f824c.tar.gz
postgresql-763554393a9c816a8b95d068a8137e18e33f824c.zip
Fix code so that we recover cleanly if there are no free semaphores
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.
Diffstat (limited to 'src/tutorial/beard.c')
0 files changed, 0 insertions, 0 deletions