Re: Proposal: Adding isbgworker column to pg_stat_activity

2022-10-25 Thread Alvaro Herrera
Hello, I just noticed that this proposal from 2020 didn't get any backers: On 2020-Dec-01, Paul Martinez wrote: > It is currently slightly difficult to determine how many background worker > processes are currently running, which is useful when trying to manage > the max_worker_processes paramet

Proposal: Adding isbgworker column to pg_stat_activity

2020-12-02 Thread Paul Martinez
Hey, all, It is currently slightly difficult to determine how many background worker processes are currently running, which is useful when trying to manage the max_worker_processes parameter. It seems the best bet is to use the backend_type column and filter out the many types that are defined in