pg_stat_activity.
When wait_event_type is null and state is active, is the session waiting onCPU? Can't quite figure out what PG is doing under those conditions.
Any insight would be appreciated.
Thanks
JT