• T
    Clean up the use of some page-header-access macros: principally, use · 9d035f42
    Tom Lane 提交于
    SizeOfPageHeaderData instead of sizeof(PageHeaderData) in places where that
    makes the code clearer, and avoid casting between Page and PageHeader where
    possible.  Zdenek Kotala, with some additional cleanup by Heikki Linnakangas.
    
    I did not apply the parts of the proposed patch that would have resulted in
    slightly changing the on-disk format of hash indexes; it seems to me that's
    not a win as long as there's any chance of having in-place upgrade for 8.4.
    9d035f42
heapam.c 133.1 KB