diff options
author | Robert Haas | 2015-11-15 19:15:40 +0000 |
---|---|---|
committer | Robert Haas | 2015-11-15 19:15:40 +0000 |
commit | 261f2c599dc5baaef34c27c3f7bbb9b98e2d99cd (patch) | |
tree | 2f5e40834f7ef62fae8f683ad287730546f8692b | |
parent | bbf99acca380543c2943c79454ac07b97fd6f2f2 (diff) |
Remove the other copy of the lwlocks.bufmgr
-rw-r--r-- | src/backend/storage/lmgr/lwlock.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/backend/storage/lmgr/lwlock.c b/src/backend/storage/lmgr/lwlock.c index 43534d63c3..0838706df5 100644 --- a/src/backend/storage/lmgr/lwlock.c +++ b/src/backend/storage/lmgr/lwlock.c @@ -353,9 +353,6 @@ NumLWLocks(void) /* Predefined LWLocks */ numLocks = NUM_FIXED_LWLOCKS; - /* bufmgr.c needs two for each shared buffer */ - numLocks += 2 * NBuffers; - /* proc.c needs one for each backend or auxiliary process */ numLocks += MaxBackends + NUM_AUXILIARY_PROCS; |