]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix using too many LWLocks bug, reported by Craig Ringer
authorTeodor Sigaev <teodor@sigaev.ru>
Tue, 22 Apr 2008 17:54:19 +0000 (17:54 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Tue, 22 Apr 2008 17:54:19 +0000 (17:54 +0000)
commitdcd4075379458783e035fd0a5f6bb758ba4700a2
treef4236ead0385473712362054fa195c4faad419f3
parentcebc3c42bb279649edd0330f52ff1236491a9dbd
Fix using too many LWLocks bug, reported by Craig Ringer
<craig@postnewspapers.com.au>.
It was my mistake, I missed limitation of number of held locks, now GIN doesn't
use continiuous locks, but still hold buffers pinned to prevent interference
with vacuum's deletion algorithm.
src/backend/access/gin/ginget.c
src/include/access/gin.h