From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Pass MyPMChildSlot as an explicit argument to child process
Date: Thu, 14 Nov 2024 14:13:15 +0000
Message-ID: <E1tBaaw-001mWD-Q2@gemulon.postgresql.org> (raw)
Pass MyPMChildSlot as an explicit argument to child process
All the other global variables passed from postmaster to child have
the same value in all the processes, while MyPMChildSlot is more like
a parameter to each child process.
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://www.postgresql.org/message-id/a102f15f-eac4-4ff2-af02-f9ff209ec66f@iki.fi
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5b007868577ae18d419c01ee739e5674fa8b2acf
Modified Files
--------------
src/backend/postmaster/launch_backend.c | 37 +++++++++++++++++++++------------
src/backend/postmaster/postmaster.c | 10 ++++-----
src/backend/postmaster/syslogger.c | 7 ++++---
src/include/postmaster/postmaster.h | 1 +
4 files changed, 33 insertions(+), 22 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: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Pass MyPMChildSlot as an explicit argument to child process
In-Reply-To: <E1tBaaw-001mWD-Q2@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