From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix incorrect const qualifier
Date: Tue, 16 Sep 2025 05:44:17 +0000
Message-ID: <E1uyOUC-000x46-1l@gemulon.postgresql.org> (raw)
Fix incorrect const qualifier
Commit 7202d72787d added in passing some const qualifiers, but the one
on the postmaster_child_launch() startup_data argument was incorrect,
because the function itself modifies the pointed-to data. This is
hidden from the compiler because of casts. The qualifiers on the
functions called by postmaster_child_launch() are still correct.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/bce18ef3c67be63ad2dd8d585260dcb813f5a525
Modified Files
--------------
src/backend/postmaster/launch_backend.c | 2 +-
src/include/postmaster/postmaster.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix incorrect const qualifier
In-Reply-To: <E1uyOUC-000x46-1l@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