Add more sanity-checking to PageAddItem and PageIndexTupleDelete,

Tom Lane <tgl@sss.pgh.pa.us>

Commit: aa00e6134e4fa892a2ec5f343d2c60a599dd29d9
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2002-01-15T22:14:17Z
Releases: 7.2.1
Add more sanity-checking to PageAddItem and PageIndexTupleDelete,
to prevent spreading of corruption when page header pointers are bad.
Merge PageZero into PageInit, since it was never used separately, and
remove separate memset calls used at most other PageInit call points.
Remove IndexPageCleanup, which wasn't used at all.

Files