reserved_superuser_connections tweak

Поиск
Список
Период
Сортировка
От Neil Conway
Тема reserved_superuser_connections tweak
Дата
Msg-id 87el9g5c4i.fsf@mailbox.samurai.com
обсуждение исходный текст
Ответы Re: reserved_superuser_connections tweak  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
There's no point counting the # of empty backend slots (which requires
grabbing an LWLock) unless

        (a) the # of reserved slots is > 0

        (b) the current user is not a superuser

Thus, we can sometimes get away without grabbing the lock

Cheers,

Neil

--
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC

Вложения

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: documentation for reserved_superuser_connections
Следующее
От: Neil Conway
Дата:
Сообщение: Re: documentation for reserved_superuser_connections