]> git.ipfire.org Git - thirdparty/postgresql.git/commit
- Add check of already changed page while replay WAL. This touches only
authorTeodor Sigaev <teodor@sigaev.ru>
Mon, 29 Oct 2007 19:27:21 +0000 (19:27 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Mon, 29 Oct 2007 19:27:21 +0000 (19:27 +0000)
commitd84a6a5516eda38c52c3a864f95d13c43a6eae3f
tree6c29652f1491eb0c1e3b4e8aff84be73126fa01f
parentb2a5641311ef21b590d40e1ad46f4d76795e8501
- 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