Fix comment for MAX_BACKENDS.
authorNathan Bossart <nathan@postgresql.org>
Mon, 24 Feb 2025 21:02:09 +0000 (15:02 -0600)
committerNathan Bossart <nathan@postgresql.org>
Mon, 24 Feb 2025 21:02:09 +0000 (15:02 -0600)
commitc56e8af75e081383e05cf544f372506c8da4efe7
tree645323ac91188d8a221f009ad11549373601f458
parente87c14b19ed458f6e07d2df338e5000453ad785d
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
src/include/storage/procnumber.h