pgsql: Fix comment for MAX_BACKENDS. - Mailing list pgsql-committers

From Nathan Bossart
Subject pgsql: Fix comment for MAX_BACKENDS.
Date
Msg-id E1tmfam-000VhY-2B@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix comment for MAX_BACKENDS.

This comment mentions that we check that the configured number of
backends does not exceed MAX_BACKENDS in RegisterBackgroundWorker()
and relevant GUC check hooks, neither of which has those checks
anymore.  To fix, adjust this comment to say that we do the check
in InitializeMaxBackends().

Oversights in commits 6bc8ef0b7f and 0b1fe1413e.

Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/Z7zOEzz8lNjaU9yf%40nathan

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c56e8af75e081383e05cf544f372506c8da4efe7

Modified Files
--------------
src/include/storage/procnumber.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: libpq: Trace all NegotiateProtocolVersion fields
Next
From: Melanie Plageman
Date:
Subject: pgsql: Add lossy indicator to TBMIterateResult