pgsql: Fix misleading comments about background worker registration. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Fix misleading comments about background worker registration.
Date
Msg-id E1nmyAq-000Gtc-Ga@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pgsql: Backpatch addition of wait_for_log(), pump_until().
Next
From: Andrew Dunstan
Date:
Subject: Re: pgsql: Remove command checks in tests of pg_basebackup and pg_receivewa