From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Silence Valgrind complaint with EXEC_BACKEND
Date: Fri, 01 Dec 2023 20:40:55 +0000
Message-ID: <E1r9AJi-0089jN-I0@gemulon.postgresql.org> (raw)
Silence Valgrind complaint with EXEC_BACKEND
The padding bytes written to the backend params file were
uninitialized. That's harmless because we don't access the padding
bytes when we read the file back in, but Valgrind doesn't know
that. In any case, clear the padding bytes to make Valgrind happy.
Reported-by: Alexander Lakhin
Discussion: https://www.postgresql.org/message-id/014768ed-8b39-c44f-b07c-098c87b1644c@gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/b19890d49d122257ddcdb7ab2c5038f5075906c1
Modified Files
--------------
src/backend/postmaster/postmaster.c | 8 ++++++++
1 file changed, 8 insertions(+)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Silence Valgrind complaint with EXEC_BACKEND
In-Reply-To: <E1r9AJi-0089jN-I0@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox