]> granicus.if.org Git - postgresql/commit
Fix possible duplicate tuples while GiST scan. Now page is processed
authorTeodor Sigaev <teodor@sigaev.ru>
Sat, 23 Aug 2008 10:43:58 +0000 (10:43 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Sat, 23 Aug 2008 10:43:58 +0000 (10:43 +0000)
commit4040629fe13c18630768fc3c5ff84b3ff3a32fdf
tree48b3fc202e92dcd0b07dd480ee9b0b736d00dd3f
parent7e9308544f041cf59e0dd4916fe93fee9aa91f99
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