Re: Would a BGW need shmem_access or database_connection to enumerate databases?

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Would a BGW need shmem_access or database_connection to enumerate databases?
Дата
Msg-id CAB7nPqQozvFqg7veG5RHMYqav4Ve-zTcnX8Z00RFHWvdw56-NQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Would a BGW need shmem_access or database_connection to enumeratedatabases?  (Chapman Flack <chap@anastigmatix.net>)
Список pgsql-hackers
On Fri, Dec 15, 2017 at 8:12 AM, Chapman Flack <chap@anastigmatix.net> wrote:
> On 12/04/2017 09:13 AM, Craig Ringer wrote:
>> On 1 December 2017 at 23:04, Chapman Flack <chap@anastigmatix.net> wrote:
>>> Can I call RegisterDynamicBackgroundWorker when not in the postmaster,
>>> but also not in a "regular backend", but rather another BGW?
>>>
>> Yes. BDR does it a lot.
>
> Would this doc patch be acceptable to clarify that, in case
> I'm not the last person who might wonder?

This doc addition looks like a good idea to me.
-- 
Michael


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

Предыдущее
От: Chapman Flack
Дата:
Сообщение: Re: Would a BGW need shmem_access or database_connection to enumeratedatabases?
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: [HACKERS] Walsender timeouts and large transactions