aboutsummaryrefslogtreecommitdiff
path: root/src/bin/scripts/createlang.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-07-13 21:50:04 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-07-13 21:50:04 +0000
commit6816577a786cd9be257f6600e3cde2d86f5adb46 (patch)
tree4b008d2476c45707b5f0df4a55927b9e039b9a7c /src/bin/scripts/createlang.c
parent9d035f425452279041c52e01cf83b2a27e121b5c (diff)
downloadpostgresql-6816577a786cd9be257f6600e3cde2d86f5adb46.tar.gz
postgresql-6816577a786cd9be257f6600e3cde2d86f5adb46.zip
Change the PageGetContents() macro to guarantee its result is maxalign'd,
thereby forestalling any problems with alignment of the data structure placed there. Since SizeOfPageHeaderData is maxalign'd anyway in 8.3 and HEAD, this does not actually change anything right now, but it is foreseeable that the header size will change again someday. I had to fix a couple of places that were assuming that the content offset is just SizeOfPageHeaderData rather than MAXALIGN(SizeOfPageHeaderData). Per discussion of Zdenek's page-macros patch.
Diffstat (limited to 'src/bin/scripts/createlang.c')
0 files changed, 0 insertions, 0 deletions