Re: make MaxBackends available in _PG_init

Поиск
Список
Период
Сортировка
От Bossart, Nathan
Тема Re: make MaxBackends available in _PG_init
Дата
Msg-id 23DC344C-97D9-413E-8911-3516BB151BB5@amazon.com
обсуждение исходный текст
Ответ на Re: make MaxBackends available in _PG_init  (Andres Freund <andres@anarazel.de>)
Ответы RE: make MaxBackends available in _PG_init  ("wangsh.fnst@fujitsu.com" <wangsh.fnst@fujitsu.com>)
Список pgsql-hackers
On 8/2/21, 3:42 PM, "Andres Freund" <andres@anarazel.de> wrote:
> I've wondered, independent of this thread, about not making MaxBackends
> externally visible, and requiring a function call to access it. It should be
> easier to find cases of misuse if we errored out when accessed at the wrong
> time. And we could use that opportunity to add flags that determine which
> types of backends are included (e.g. not including autovac, or additionally
> including aux workers or prepared xacts).

I'm not opposed to this.  I can work on putting a patch together if no
opposition materializes.

Nathan


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: make MaxBackends available in _PG_init
Следующее
От: David Rowley
Дата:
Сообщение: Re: Use generation context to speed up tuplesorts