- Add check of already changed page while replay WAL. This touches only

Teodor Sigaev <teodor@sigaev.ru>

Commit: bf5ccf382c606b09e17dbcefc101d62417c4db33
Author: Teodor Sigaev <teodor@sigaev.ru>
Date: 2007-10-29T19:26:57Z
Releases: 8.3.0
- 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>

Files

PathChange+/−
src/backend/access/gin/ginxlog.c modified +60 −52