pgsql: Correctly align page's images in generic wal API - Mailing list pgsql-committers

From Teodor Sigaev
Subject pgsql: Correctly align page's images in generic wal API
Date
Msg-id E1b2PeD-00021o-NR@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7c8345f67f3008a394adccae262f2a2162b6f5c7

Modified Files
--------------
src/backend/access/transam/generic_xlog.c | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: postgres_fdw: Fix the fix for crash when pushing down multiple j
Next
From: Magnus Hagander
Date:
Subject: pgsql: Fix typo