postgresql/src
David Rowley 414d66220a Adjust Valgrind macro usage to protect chunk headers
Prior to this commit we only ever protected MemoryChunk's requested_size
field with Valgrind NOACCESS.  This means that if the hdrmask field is
ever accessed accidentally then we're not going to get any warnings from
Valgrind about it.  Valgrind would have warned us about the problem fixed
in 92957ed98 had we already been doing this.

Per suggestion from Tom Lane

Reviewed-by: Richard Guo
Discussion: https://postgr.es/m/1650235.1672694719@sss.pgh.pa.us
Discussion: https://postgr.es/m/CAApHDvr=FZNGbj252Z6M9BSFKoq6BMxgkQ2yEAGUYoo7RquqZg@mail.gmail.com
2023-04-15 11:59:52 +12:00
..
backend Adjust Valgrind macro usage to protect chunk headers 2023-04-15 11:59:52 +12:00
bin Add missing source files to nls.mk 2023-04-14 09:56:04 +02:00
common Introduce PG_IO_ALIGN_SIZE and align all I/O buffers. 2023-04-08 16:34:50 +12:00
fe_utils Revert refactoring of restore command code to shell_restore.c 2023-02-06 08:28:42 +09:00
include Harmonize some more function parameter names. 2023-04-13 10:15:20 -07:00
interfaces De-Revert "Add support for Kerberos credential delegation" 2023-04-13 08:55:07 -04:00
makefiles meson: Make auto the default of the ssl option 2023-03-13 07:04:11 +01:00
pl Harmonize some more function parameter names. 2023-04-13 10:15:20 -07:00
port Fix detection of unseekable files for fseek() and ftello() with MSVC 2023-04-12 09:09:38 +09:00
template Use unnamed POSIX semaphores on Cygwin. 2023-01-06 10:33:28 +13:00
test Support RBM_ZERO_AND_CLEANUP_LOCK in ExtendBufferedRelTo(), add tests 2023-04-14 11:30:33 -07:00
timezone Fix outdated references to guc.c 2023-03-02 13:49:39 +01:00
tools Fix detection of unseekable files for fseek() and ftello() with MSVC 2023-04-12 09:09:38 +09:00
tutorial Remove useless casts to (void *) in arguments of some system functions 2023-02-07 06:57:59 +01:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
DEVELOPERS
Makefile Integrate pg_bsd_indent into our build/test infrastructure. 2023-02-12 12:22:21 -05:00
Makefile.global.in Update Unicode data to CLDR 43 2023-04-13 22:10:08 +02:00
Makefile.shlib autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
meson.build Integrate pg_bsd_indent into our build/test infrastructure. 2023-02-12 12:22:21 -05:00
nls-global.mk Fix for make unportability 2022-07-13 09:15:01 +02:00