diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-04-11 22:54:23 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-04-11 22:54:23 +0000 |
commit | 65c3d05e18e7c530ef671a956b3325f016659baa (patch) | |
tree | 8967506dcf48c99fcd18505c3b9ffcf4abbc336d /src/backend/access/gist/gistget.c | |
parent | c846f7ca8a700f2f5418820a224cf59574ca4f04 (diff) | |
download | postgresql-65c3d05e18e7c530ef671a956b3325f016659baa.tar.gz postgresql-65c3d05e18e7c530ef671a956b3325f016659baa.zip |
Add some debug support code to try to catch future mistakes in the area of
input functions that include garbage bytes in their results. Provide a
compile-time option RANDOMIZE_ALLOCATED_MEMORY to make palloc fill returned
blocks with variable contents. This option also makes the parser perform
conversions of literal constants twice and compare the results, emitting a
WARNING if they don't match. (This is the code I used to catch the input
function bugs fixed in the previous commit.) For the moment, I've set it
to be activated automatically by --enable-cassert.
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions