@@TRANCOUNT: Transaction count.
How many transactions are open at the moment.
I’m not seeing anything that looks appropriate. As far as I can see it might be possible to do something using the Statistics Collector, see https://www.postgresql.org/docs/13/monitoring-stats.html
Hope someone knowledgeable on PostgreSQL will have an answer.
I did find this from 2006. https://www.postgresql.org/message-id/[email protected]
HTH.
From: Julien Rouhaud [mailto:[email protected]] Sent: 29 May 2021 14:26To: [email protected]Cc: Pgsql-adminSubject: Re: equivalent of @@TRANCOUNT PostgreSQL
On Sat, May 29, 2021 at 9:07 PM <[email protected]> wrote:
Hello, I have a procedure where they have used @@TRANCOUNT , is there an equivalent of @@TRANCOUNT in PostgreSQL? (Except Savepoint)
Hello,
I have a procedure where they have used @@TRANCOUNT , is there an equivalent of @@TRANCOUNT in PostgreSQL? (Except Savepoint)
What does @@TRANCOUNT do?
pgsql-admin by date:
Соглашаюсь с условиями обработки персональных данных