pgsql: Fix comment for MAX_BACKENDS.

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема pgsql: Fix comment for MAX_BACKENDS.
Дата
Msg-id E1tmfam-000VhY-2B@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления: