Thread: pgsql: Add assertion to check the special size is sane before dereferen

pgsql: Add assertion to check the special size is sane before dereferen

From
Heikki Linnakangas
Date:
Add assertion to check the special size is sane before dereferencing it.

This seems useful to catch errors of the sort I just fixed, where
PageGetSpecialPointer is called before initializing the page.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/302ac7f27197855afa8c89fae36c85c124ae156b

Modified Files
--------------
src/include/storage/bufpage.h |    2 ++
1 file changed, 2 insertions(+)