pgsql: Fix misleading comments about background worker registration.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix misleading comments about background worker registration.
Date: 2022-05-06 13:39:13
Message-ID: E1nmyAq-000Gtc-Ga@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2022-05-06 14:12:36 Re: pgsql: Remove command checks in tests of pg_basebackup and pg_receivewa
Previous Message Peter Eisentraut 2022-05-06 13:29:43 Re: pgsql: Backpatch addition of wait_for_log(), pump_until().