postgresql/src/backend/utils
Noah Misch 19085116ee Cooperate with the Valgrind instrumentation framework.
Valgrind "client requests" in aset.c and mcxt.c teach Valgrind and its
Memcheck tool about the PostgreSQL allocator.  This makes Valgrind
roughly as sensitive to memory errors involving palloc chunks as it is
to memory errors involving malloc chunks.  Further client requests in
PageAddItem() and printtup() verify that all bits being added to a
buffer page or furnished to an output function are predictably-defined.
Those tests catch failures of C-language functions to fully initialize
the bits of a Datum, which in turn stymie optimizations that rely on
_equalConst().  Define the USE_VALGRIND symbol in pg_config_manual.h to
enable these additions.  An included "suppression file" silences nominal
errors we don't plan to fix.

Reviewed in earlier versions by Peter Geoghegan and Korry Douglas.
2013-06-26 20:22:25 -04:00
..
adt Renovate display of non-ASCII messages on Windows. 2013-06-26 11:17:33 -04:00
cache Fix cache flush hazard in cache_record_field_properties(). 2013-06-11 17:26:42 -04:00
error Renovate display of non-ASCII messages on Windows. 2013-06-26 11:17:33 -04:00
fmgr Add infrastructure for storing a VARIADIC ANY function's VARIADIC flag. 2013-01-21 20:26:15 -05:00
hash pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
init Renovate display of non-ASCII messages on Windows. 2013-06-26 11:17:33 -04:00
mb Renovate display of non-ASCII messages on Windows. 2013-06-26 11:17:33 -04:00
misc Support TB (terabyte) memory unit in GUC variables. 2013-06-20 08:17:14 +09:00
mmgr Cooperate with the Valgrind instrumentation framework. 2013-06-26 20:22:25 -04:00
resowner pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
sort pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
time Add buffer_std flag to MarkBufferDirtyHint(). 2013-06-17 08:02:12 -07:00
.gitignore Avoid maintaining three separate copies of the error codes list. 2011-02-03 22:32:49 -05:00
errcodes.txt Update copyrights for 2013 2013-01-01 17:15:01 -05:00
Gen_dummy_probes.sed Update copyrights for 2013 2013-01-01 17:15:01 -05:00
Gen_fmgrtab.pl Update copyrights for 2013 2013-01-01 17:15:01 -05:00
generate-errcodes.pl Update copyrights for 2013 2013-01-01 17:15:01 -05:00
Makefile Make handling of errcodes.h more consistent with other generated headers. 2011-02-04 09:29:10 -05:00
probes.d Update copyrights for 2013 2013-01-01 17:15:01 -05:00