On Sat, Dec 2, 2017 at 12:41 AM, Robert Haas <robertmh...@gmail.com> wrote:
> On Fri, Dec 1, 2017 at 10:04 AM, Chapman Flack <c...@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.
>

I think we are already doing it that way in autoprewarm
(src/contrib/pg_prewarm/autoprewarm.c).

-- 
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

Reply via email to