aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-10-27 22:39:58 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-10-27 22:39:58 +0300
commitcbf65509bb59694412286239fe6db409060f8d69 (patch)
treebae5d159368095f8b727ea69726c4311af40db21 /src/backend/access/gist
parent051d1ba7a02d0e8930adf228d60e8a044b9fcadb (diff)
downloadpostgresql-cbf65509bb59694412286239fe6db409060f8d69.tar.gz
postgresql-cbf65509bb59694412286239fe6db409060f8d69.zip
Fix the number of lwlocks needed by the "fast path" lock patch. It needs
one lock per backend or auxiliary process - the need for a lock for each aux processes was not accounted for in NumLWLocks(). No-one noticed, because the three locks needed for the three aux processes fit into the few extra lwlocks we allocate for 3rd party modules that don't call RequestAddinLWLocks() (NUM_USER_DEFINED_LWLOCKS, 4 by default).
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions