On Saturday, May 29, 2021, <dave(at)davebolt(dot)co(dot)uk> wrote:
> @@TRANCOUNT: Transaction count.
>
> How many transactions are open at the moment.
>
>
pg_stat_activity could be used for this. One transaction per process
actively executing a query.
David J.