diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2015-03-10 12:26:34 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2015-03-10 12:27:15 -0300 |
commit | e491bd2ee34860b14ff18abc5602f9aa5b197a2d (patch) | |
tree | b6b2bde52149169db4b0c666bce203c7d8da1820 /src/backend/access/transam/xlog.c | |
parent | 865f14a2d31af23a05bbf2df04c274629c5d5c4d (diff) | |
download | postgresql-e491bd2ee34860b14ff18abc5602f9aa5b197a2d.tar.gz postgresql-e491bd2ee34860b14ff18abc5602f9aa5b197a2d.zip |
Move BRIN page type to page's last two bytes
... which is the usual convention among AMs, so that pg_filedump and
similar utilities can tell apart pages of different AMs. It was also
the intent of the original code, but I failed to realize that alignment
considerations would move the whole thing to the previous-to-last word
in the page.
The new definition of the associated macro makes surrounding code a bit
leaner, too.
Per note from Heikki at
http://www.postgresql.org/message-id/546A16EF.9070005@vmware.com
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions