TODO Done. Superuser backend slot reservations

Поиск
Список
Период
Сортировка
От Nigel J. Andrews
Тема TODO Done. Superuser backend slot reservations
Дата
Msg-id Pine.LNX.4.21.0208252339300.16637-200000@ponder.fairway2k.co.uk
обсуждение исходный текст
Ответы Re: TODO Done. Superuser backend slot reservations  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

TODO item:

Administration -
    Reserve last few process slots for super-user if max_connections
    reached


Notes:

Added GUC superuser_reserved_connections such that non-superuser connections
are only acceptable in the first
(max_connections - superuser_reserved_connections) backend slots.

Superuser connections within these first n slots count towards this
non-superuser connection limit. Therefore there can be at most this number
of non-superuser connections but may be less.

In addition, this limit is only checked on initialisation of a backend
process. So reserved slots can be taken by connections that subsequently
lose superuser priviledges thus evading the lower limit on backends.

Passed regression tests, not that it was likely not to.
Behaved as expected in a manual test.


--
Nigel J. Andrews
Director

---
Logictree Systems Limited
Computer Consultants

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Fwd: Joins and links
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Database Caching