]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix incorrect const qualifier
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 16 Sep 2025 05:23:50 +0000 (07:23 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 16 Sep 2025 05:23:50 +0000 (07:23 +0200)
commite179115dc04159eb364ffda88fed82e511aff0f7
tree5fce54394eb8a8e201f415dc9dafecd29d419e87
parent2ddbfede0c615c009bbbb0f8dfcaa848da5d2376
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.
src/backend/postmaster/launch_backend.c
src/include/postmaster/postmaster.h