pgsql: Fix incorrect const qualifier

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix incorrect const qualifier
Date: 2025-09-16 05:44:17
Message-ID: E1uyOUC-000x48-1p@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2025-09-16 06:27:15 pgsql: Fix intermittent BF failures in 035_conflicts.
Previous Message Fujii Masao 2025-09-16 02:56:19 pgsql: pg_restore: Fix comment handling with --no-policies.