]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Correctly align page's images in generic wal API
authorTeodor Sigaev <teodor@sigaev.ru>
Mon, 16 May 2016 21:01:35 +0000 (00:01 +0300)
committerTeodor Sigaev <teodor@sigaev.ru>
Mon, 16 May 2016 21:01:35 +0000 (00:01 +0300)
commit7c8345f67f3008a394adccae262f2a2162b6f5c7
treec5f93e1e08b0ba501290f5ddeafd6e9406e71d01
parent02a568a02769ca626591039f460109369bf05dc2
Correctly align page's images in generic wal API

Page image should be MAXALIGN'ed because existing code could directly align
pointers in page instead of align offset from beginning of page.

Found during play with indexes as extenstion, Alexander Korotkov and me
src/backend/access/transam/generic_xlog.c