aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-05-08 14:43:04 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-05-08 14:43:04 +0300
commit34572920c92680b8c29779060632d7f40168cae2 (patch)
treed2e7eb6374b391fdabf5eb03622dc6fe2c926113 /src/backend/utils/adt/json.c
parentcd7df1060b405c15353e61dfab2404e97c3482c1 (diff)
downloadpostgresql-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