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

From: Chapman Flack <chap(at)anastigmatix(dot)net>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Would a BGW need shmem_access or database_connection to enumerate databases?
Date: 2017-12-14 23:12:35
Message-ID: 36f97d5c-5e33-1cd6-cc98-c15e4c804c98@anastigmatix.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12/04/2017 09:13 AM, Craig Ringer wrote:
> On 1 December 2017 at 23:04, Chapman Flack <chap(at)anastigmatix(dot)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?

-Chap

Attachment Content-Type Size
0001-Clarify-that-a-BGW-can-register-a-dynamic-BGW.patch text/x-patch 865 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2017-12-14 23:47:52 Re: Would a BGW need shmem_access or database_connection to enumerate databases?
Previous Message Fabien COELHO 2017-12-14 22:47:57 Re: pgbench's expression parsing & negative numbers