]> granicus.if.org Git - postgresql/commit
- Add check of already changed page while replay WAL. This touches only
authorTeodor Sigaev <teodor@sigaev.ru>
Mon, 29 Oct 2007 19:26:57 +0000 (19:26 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Mon, 29 Oct 2007 19:26:57 +0000 (19:26 +0000)
commitbf5ccf382c606b09e17dbcefc101d62417c4db33
treea917512fd02db996ef450918dda83c5c42830305
parentf7967d4c69f8bbe23fd46e350ffb2822096b7b68
- Add check of already changed page while replay WAL. This touches only
ginRedoInsert(), because other ginRedo* functions rewrite whole page or
make changes which could be applied several times without consistent's loss

- Remove check of identifying of corresponding split record:
it's possible that replaying of WAL starts after actual page split, but before
removing of that split from incomplete splits list. In this case, that check
cause FATAL error.

Per stress test which reproduces bug reported by Craig McElroy
<craig.mcelroy@contegix.com>
src/backend/access/gin/ginxlog.c