pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix incorrect const qualifier
2+ messages / 1 participants
[nested] [flat]

* pgsql: Fix incorrect const qualifier
@ 2025-09-16 05:44  Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2025-09-16 05:44 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Fix incorrect const qualifier
@ 2025-09-16 05:44  Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2025-09-16 05:44 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2025-09-16 05:44 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-09-16 05:44 pgsql: Fix incorrect const qualifier Peter Eisentraut <peter@eisentraut.org>
2025-09-16 05:44 pgsql: Fix incorrect const qualifier Peter Eisentraut <peter@eisentraut.org>

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