]> granicus.if.org Git - postgresql/commit
Fix bug with page deletion. If inner page is removed and it tries to
authorTeodor Sigaev <teodor@sigaev.ru>
Thu, 30 Nov 2006 16:22:32 +0000 (16:22 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Thu, 30 Nov 2006 16:22:32 +0000 (16:22 +0000)
commitef148d6b8592e19cfeb9e2bee4255ddadc2ae3dd
treee0a802a58aba4201b0fb997420ceab8011ebdac1
parentcf06c2e5d43bbc96ce31cd37125d17125c6c2f9a
Fix bug with page deletion. If inner page is removed and it tries to
remove page on next level linked from next inner page, ginScanToDelete()
wrongly sets parent page. Bug reveals when many item pointers from index
was deleted ( several hundred thousands).

Bug is discovered by hubert depesz lubaczewski <depesz@gmail.com>

Suppose, we need rc2 before release...
src/backend/access/gin/ginvacuum.c