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:43:39 +0300 |
commit | 31633f992568ffca9a7927a9f474ad8516840b2c (patch) | |
tree | 1d4d658a3e079bf59abc606ec9707c509ff57b55 /src/backend/storage/ipc/ipc.c | |
parent | 7603744a077a8f6a878f47e389a3d41844c8adc5 (diff) |
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/storage/ipc/ipc.c')
0 files changed, 0 insertions, 0 deletions