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:04 +0300 |
commit | 34572920c92680b8c29779060632d7f40168cae2 (patch) | |
tree | d2e7eb6374b391fdabf5eb03622dc6fe2c926113 /src/backend/utils/adt/json.c | |
parent | cd7df1060b405c15353e61dfab2404e97c3482c1 (diff) | |
download | postgresql-34572920c92680b8c29779060632d7f40168cae2.tar.gz postgresql-34572920c92680b8c29779060632d7f40168cae2.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/json.c')
0 files changed, 0 insertions, 0 deletions