pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix misleading comments about background worker registration.
Date: Fri, 06 May 2022 13:39:13 +0000
Message-ID: <E1nmyAq-000Gtc-Ga@gemulon.postgresql.org> (raw)

Fix misleading comments about background worker registration.

Since 6bc8ef0b7f1f1df3998745a66e1790e27424aa0c, the maximum number
of backends can't change as background workers are registered, but
these comments still reflect the way things worked prior to that.

Also, per recent discussion, some modules call SetConfigOption()
from _PG_init(). It's not entirely clear to me whether we want to
regard that as a fully supported operation, but since we know it's
a thing that happens, it at least deserves a mention in the comments,
so add that.

Nathan Bossart, reviewed by Anton A. Melnikov

Discussion: http://postgr.es/m/20220419154658.GA2487941@nathanxps13

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/701d918a426b394620ce4d046533f77262c70829

Modified Files
--------------
src/backend/postmaster/postmaster.c | 10 ++++------
src/backend/utils/init/postinit.c   |  5 ++---
2 files changed, 6 insertions(+), 9 deletions(-)



Message-ID: <E1nmyAq-000Gtc-Ga@gemulon.postgresql.org>
Permalink:  ../E1nmyAq-000Gtc-Ga@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1nmyAq-000Gtc-Ga@gemulon.postgresql.org

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: Fix misleading comments about background worker registration.
  In-Reply-To: <E1nmyAq-000Gtc-Ga@gemulon.postgresql.org>
  References: <E1nmyAq-000Gtc-Ga@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