Re: Bugs in superuser_reserved_connections and max_wal_senders vs max_connections

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bugs in superuser_reserved_connections and max_wal_senders vs max_connections
Дата
Msg-id 955.1344521840@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bugs in superuser_reserved_connections and max_wal_senders vs max_connections  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Bugs in superuser_reserved_connections and max_wal_senders vs max_connections
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> The check in PostmasterMain():
>     if (ReservedBackends >= MaxBackends)
>     {
>         write_stderr("%s: superuser_reserved_connections must be less than
> max_connections\n", progname);
>         ExitPostmaster(1);
>     }

> should probably check against MaxConnections instead of MaxBackends, I think?

Yeah, this code probably dates from before there was a difference.

In general, I'd bet that this is not the only place where the wrong one
of those variables is being consulted.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Inserting heap tuples in bulk in COPY
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Wiki link for max_connections? (Fwd: Re: [ADMIN] PostgreSQL oom_adj postmaster process to -17)