]> granicus.if.org Git - postgresql/commit
In SPGiST replay, do conflict resolution before modifying the page.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Aug 2012 19:22:41 +0000 (15:22 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Aug 2012 19:23:14 +0000 (15:23 -0400)
commitc1793f2e0ce4ee5c713f27d0bdacc7d99b9103ac
tree135b8a8529bb78c253a2709a741f653cb4f9780d
parent9fb5952cdf8870b430456b0674d64d6df622ee7c
In SPGiST replay, do conflict resolution before modifying the page.

In yesterday's commit 962e0cc71e839c58fb9125fa85511b8bbb8bdbee, I added the
ResolveRecoveryConflictWithSnapshot call in the wrong place.  I correctly
put it before spgRedoVacuumRedirect itself would modify the index page ---
but not before RestoreBkpBlocks, so replay of a record with a full-page
image would modify the page before kicking off any conflicting HS
transactions.  Oops.
src/backend/access/spgist/spgxlog.c