diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-01-08 21:59:55 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-01-08 21:59:55 +0000 |
commit | 2515882a0fdbb0064a426621903eb99f425a7575 (patch) | |
tree | 76333737bf0a8755d56b0aa231ce69ca0aa34d81 /src/backend/utils/adt/selfuncs.c | |
parent | b79e75d66f1b2169ad9552d430f699a4b5c95862 (diff) | |
download | postgresql-2515882a0fdbb0064a426621903eb99f425a7575.tar.gz postgresql-2515882a0fdbb0064a426621903eb99f425a7575.zip |
Modify PageIsEmpty and PageGetMaxOffsetNumber macros to behave sanely
if presented an uninitialized (all zeroes) page. The system no longer
crashes hard if an all-zeroes page is present in a relation. There seem
to be some boundary conditions where a page will be appended to a relation
and zeroed, but its page header is never initialized; until we can track
down and fix all of those, robustness seems like a good idea.
Also, clean up some obsolete and downright wrong comments.
Diffstat (limited to 'src/backend/utils/adt/selfuncs.c')
0 files changed, 0 insertions, 0 deletions