diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2015-06-30 13:44:04 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2015-06-30 13:44:04 +0300 |
commit | 302ac7f27197855afa8c89fae36c85c124ae156b (patch) | |
tree | c92ac6a9decee614a2dc58bd2a1bd4721f35f35b /src/backend/access/tablesample/tablesample.c | |
parent | fdf28853ae6a397497b79fea69f89f4f7b9aa991 (diff) | |
download | postgresql-302ac7f27197855afa8c89fae36c85c124ae156b.tar.gz postgresql-302ac7f27197855afa8c89fae36c85c124ae156b.zip |
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.
Diffstat (limited to 'src/backend/access/tablesample/tablesample.c')
0 files changed, 0 insertions, 0 deletions