diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-09-04 21:42:17 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-09-04 21:42:17 +0000 |
commit | 763554393a9c816a8b95d068a8137e18e33f824c (patch) | |
tree | 5135c6bbc76b060f15329431f517701858d16791 /src/backend/parser/parser.c | |
parent | 29c22eec8c52455b5c2252b77521fb29681efe2d (diff) | |
download | postgresql-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/backend/parser/parser.c')
0 files changed, 0 insertions, 0 deletions