]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix possible duplicate tuples while GiST scan. Now page is processed
authorTeodor Sigaev <teodor@sigaev.ru>
Sat, 23 Aug 2008 10:41:38 +0000 (10:41 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Sat, 23 Aug 2008 10:41:38 +0000 (10:41 +0000)
commite41417571307cbf1f019525a3a7d3bf98e7c4603
tree8af7e63e2d40d4ed9361980a55c92f65ec085c59
parent7ddd8396479a11ff81b0ca506e97617c4cd445d3
Fix possible duplicate tuples while  GiST scan. Now page is processed
at once and ItemPointers are collected in memory.

Remove tuple's killing by killtuple() if tuple was moved to another
page - it could produce unaceptable overhead.

Backpatch up to 8.1 because the bug was introduced by GiST's concurrency support.
src/backend/access/gist/gistget.c
src/backend/access/gist/gistscan.c
src/include/access/gist_private.h