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:27:32 +0000 (07:27 +0200)
commitbce18ef3c67be63ad2dd8d585260dcb813f5a525
tree854ca589cf73fdd8a59cf0748633520bff4ff7a3
parent66dabc06b1b0aaadfd5be640a2e3efbeea0fcaf5
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