On 31.05.24 11:28, ISHAN CHHANGANI . wrote:
Is it possible to switch on/off a background worker in runtime?
worker.bgw_flags =BGWORKER_SHMEM_ACCESS;
worker.bgw_start_time =BgWorkerStart_PostmasterStart;
I want to switch off the worker based on some flag value, etc, either
from the main proces
Hi ISHAN
On Fri, May 31, 2024 at 2:28 PM ISHAN CHHANGANI . <
f20200...@hyderabad.bits-pilani.ac.in> wrote:
> Hi,
>
> Is it possible to switch on/off a background worker in runtime?
>
As per my understanding there is no such way to do it on runtime. But you
can kill it by using the following com
Hi,
Is it possible to switch on/off a background worker in runtime?
worker.bgw_flags = BGWORKER_SHMEM_ACCESS;
worker.bgw_start_time = BgWorkerStart_PostmasterStart;
I want to switch off the worker based on some flag value, etc, either from the
main process or the worker itself.
Are there any al