-
- Downloads
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
Showing
- contrib/pageinspect/brinfuncs.c 4 additions, 9 deletionscontrib/pageinspect/brinfuncs.c
- src/backend/access/brin/brin_pageops.c 5 additions, 18 deletionssrc/backend/access/brin/brin_pageops.c
- src/backend/access/brin/brin_revmap.c 1 addition, 1 deletionsrc/backend/access/brin/brin_revmap.c
- src/include/access/brin_page.h 29 additions, 9 deletionssrc/include/access/brin_page.h
- src/include/access/gin_private.h 4 additions, 4 deletionssrc/include/access/gin_private.h
- src/include/access/spgist_private.h 2 additions, 0 deletionssrc/include/access/spgist_private.h
Please register or sign in to comment