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

From Robert Haas
Subject Re: Would a BGW need shmem_access or database_connection to enumerate databases?
Date
Msg-id CA+TgmoaWRaazLdK8_nMA-ECwfTe_RKjj5G1Me-GnB9SQ4fLV6Q@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>)
Responses Re: Would a BGW need shmem_access or database_connection to enumerate databases?
List pgsql-hackers
On Fri, Dec 1, 2017 at 10:04 AM, 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?

I believe that doing it from another BGW works fine.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] Partition-wise aggregation/grouping
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] Custom compression methods