From: | <dave(at)davebolt(dot)co(dot)uk> |
---|---|
To: | "'Julien Rouhaud'" <rjuju123(at)gmail(dot)com>, <mustafa(dot)pekgoz(at)forenda(dot)com(dot)tr> |
Cc: | "'Pgsql-admin'" <pgsql-admin(at)lists(dot)postgresql(dot)org> |
Subject: | RE: equivalent of @@TRANCOUNT PostgreSQL |
Date: | 2021-05-29 14:34:41 |
Message-ID: | 042901d75497$c2da72d0$488f5870$@co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
@@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/eg5op3$ria$1@sea.gmane.org
HTH.
From: Julien Rouhaud [mailto:rjuju123(at)gmail(dot)com]
Sent: 29 May 2021 14:26
To: mustafa(dot)pekgoz(at)forenda(dot)com(dot)tr
Cc: Pgsql-admin
Subject: Re: equivalent of @@TRANCOUNT PostgreSQL
On Sat, May 29, 2021 at 9:07 PM <mustafa(dot)pekgoz(at)forenda(dot)com(dot)tr> wrote:
Hello,
I have a procedure where they have used @@TRANCOUNT , is there an equivalent of @@TRANCOUNT in PostgreSQL? (Except Savepoint)
What does @@TRANCOUNT do?
From | Date | Subject | |
---|---|---|---|
Next Message | David G. Johnston | 2021-05-29 14:44:57 | Re: equivalent of @@TRANCOUNT PostgreSQL |
Previous Message | Julien Rouhaud | 2021-05-29 13:25:36 | Re: equivalent of @@TRANCOUNT PostgreSQL |