On Sat, Dec 2, 2017 at 12:41 AM, Robert Haas <[email protected]> wrote: > On Fri, Dec 1, 2017 at 10:04 AM, Chapman Flack <[email protected]> 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
