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-000x48-1p@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
------
REL_18_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/e179115dc04159eb364ffda88fed82e511aff0f7
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-000x48-1p@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