diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2012-06-24 18:27:10 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2012-06-24 18:35:56 +0300 |
commit | 061e7efb1b4c5b8a5d02122b7780531b8d5bf23d (patch) | |
tree | 7f7bb52713c38478b11bc1bd2a858a0ef80fc52a /src/backend/access/gist/gist.c | |
parent | 20ba5ca64c7c858400f845f8ded330604e2c8d61 (diff) | |
download | postgresql-061e7efb1b4c5b8a5d02122b7780531b8d5bf23d.tar.gz |
Allow WAL record header to be split across pages.
This saves a few bytes of WAL space, but the real motivation is to make it
predictable how much WAL space a record requires, as it no longer depends
on whether we need to waste the last few bytes at end of WAL page because
the header doesn't fit.
The total length field of WAL record, xl_tot_len, is moved to the beginning
of the WAL record header, so that it is still always found on the first page
where a WAL record begins.
Bump WAL version number again as this is an incompatible change.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions