diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-05-08 14:43:04 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-05-08 14:50:22 +0300 |
commit | 4f7bb4b2a36facc94a1d6b821ec6733093aa9bc6 (patch) | |
tree | 71645d9fe72a3b438d34bea1f9bf811f64f331e8 /src/backend/utils/adt/jsonb_util.c | |
parent | 02c9a938057ecb811c65999577d32c5f5e9c99dc (diff) | |
download | postgresql-4f7bb4b2a36facc94a1d6b821ec6733093aa9bc6.tar.gz postgresql-4f7bb4b2a36facc94a1d6b821ec6733093aa9bc6.zip |
Protect against torn pages when deleting GIN list pages.
To-be-deleted list pages contain no useful information, as they are being
deleted, but we must still protect the writes from being torn by a crash
after a partial write. To do that, re-initialize the pages on WAL replay.
Jeff Janes caught this with a test program to test partial writes.
Backpatch to all supported versions.
Diffstat (limited to 'src/backend/utils/adt/jsonb_util.c')
0 files changed, 0 insertions, 0 deletions