postgresql/src/backend
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
..
access Cooperate with the Valgrind instrumentation framework. 2013-06-26 20:22:25 -04:00
bootstrap Put back allow_system_table_mods check in heap_create(). 2013-06-03 17:22:31 +03:00
catalog Improve updatability checking for views and foreign tables. 2013-06-12 17:53:33 -04:00
commands Reverting previous commit, pending investigation 2013-06-24 21:21:18 +01:00
executor Improve updatability checking for views and foreign tables. 2013-06-12 17:53:33 -04:00
foreign Arrange to cache FdwRoutine structs in foreign tables' relcache entries. 2013-03-06 23:48:09 -05:00
lib pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
libpq Avoid reading below the start of a stack variable in tokenize_file(). 2013-06-12 19:50:52 -04:00
main Renovate display of non-ASCII messages on Windows. 2013-06-26 11:17:33 -04:00
nodes Postpone creation of pathkeys lists to fix bug #8049. 2013-04-29 14:50:03 -04:00
optimizer Prevent pushing down WHERE clauses into unsafe UNION/INTERSECT nests. 2013-06-05 23:45:11 -04:00
parser Reverting previous commit, pending investigation 2013-06-24 21:21:18 +01:00
po Translation updates 2013-06-24 14:16:44 -04:00
port Use SA_RESTART for all signals, including SIGALRM. 2013-06-15 15:39:51 -04:00
postmaster pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
regex pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
replication Support clean switchover. 2013-06-26 02:14:37 +09:00
rewrite Improve updatability checking for views and foreign tables. 2013-06-12 17:53:33 -04:00
snowball Update copyrights for 2013 2013-01-01 17:15:01 -05:00
storage Cooperate with the Valgrind instrumentation framework. 2013-06-26 20:22:25 -04:00
tcop Cooperate with the Valgrind instrumentation framework. 2013-06-26 20:22:25 -04:00
tsearch pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
utils Cooperate with the Valgrind instrumentation framework. 2013-06-26 20:22:25 -04:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
common.mk Call check_keywords.pl in maintainer-check 2012-02-27 13:53:12 +02:00
Makefile Move relpath() to libpgcommon 2013-02-21 22:46:17 -03:00
nls.mk Translation updates 2013-05-05 22:34:23 -04:00