git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 865f14a) | patch
Move BRIN page type to page's last two bytes
2015年3月10日 15:26:34 +0000 (12:26 -0300)
2015年3月10日 15:27:15 +0000 (12:27 -0300)
commit e491bd2ee34860b14ff18abc5602f9aa5b197a2d
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
contrib/pageinspect/brinfuncs.c diff | blob | blame | history
src/backend/access/brin/brin_pageops.c diff | blob | blame | history
src/backend/access/brin/brin_revmap.c diff | blob | blame | history
src/include/access/brin_page.h diff | blob | blame | history
src/include/access/gin_private.h diff | blob | blame | history
src/include/access/spgist_private.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /