Re: Would a BGW need shmem_access or database_connection to enumerate databases? - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Would a BGW need shmem_access or database_connection to enumerate databases?
Date
Msg-id CAB7nPqQozvFqg7veG5RHMYqav4Ve-zTcnX8Z00RFHWvdw56-NQ@mail.gmail.com
Whole thread Raw
In response to Re: Would a BGW need shmem_access or database_connection to enumeratedatabases?  (Chapman Flack <chap@anastigmatix.net>)
List 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 by date:

Previous
From: Chapman Flack
Date:
Subject: Re: Would a BGW need shmem_access or database_connection to enumeratedatabases?
Next
From: Craig Ringer
Date:
Subject: Re: [HACKERS] Walsender timeouts and large transactions