From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Pass CAC as an argument to the backend process
Date: Tue, 12 Mar 2024 11:45:23 +0000
Message-ID: <E1rk0ZO-003Pjx-RS@gemulon.postgresql.org> (raw)
Pass CAC as an argument to the backend process
We used to smuggle it to the child process in the Port struct, but it
seems better to pass it down as a separate argument. This paves the
way for the next commit, which moves the initialization of the Port
struct to the backend process, after forking.
Reviewed-by: Tristan Partin, Andres Freund
Discussion: https://www.postgresql.org/message-id/7a59b073-5b5b-151e-7ed3-8b01ff7ce9ef@iki.fi
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d162c3a73bf14416ff4012de6f01c3d825610f70
Modified Files
--------------
src/backend/postmaster/postmaster.c | 44 +++++++++++++++++++++++++++----------
src/include/libpq/libpq-be.h | 12 ----------
2 files changed, 32 insertions(+), 24 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 CAC as an argument to the backend process
In-Reply-To: <E1rk0ZO-003Pjx-RS@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