]> 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:37:24 +0000 (10:37 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Sat, 23 Aug 2008 10:37:24 +0000 (10:37 +0000)
commit1dcf6fdf1bd7fb2501445fa2ebfa57e04273e848
treea7b79bb7b7e4638c16031b1279a21d7881795e94
parent42d313f5463dfeae7292ee35537ab1b9afe2f03e
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