pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <shammat@gmx.net>
To: pgsql-admin@lists.postgresql.org
Subject: Re: equivalent of @@TRANCOUNT PostgreSQL
Date: Sat, 29 May 2021 20:15:44 +0200
Message-ID: <445011bb-b76d-9174-aebe-f6727944054d@gmx.net> (raw)
In-Reply-To: <004101d7548b$894e0ce0$9bea26a0$@forenda.com.tr>
References: <004101d7548b$894e0ce0$9bea26a0$@forenda.com.tr>

mustafa.pekgoz@forenda.com.tr schrieb am 29.05.2021 um 15:07:
> I have a procedure where they have used @@TRANCOUNT , is there an
> equivalent of @@TRANCOUNT in PostgreSQL? (Except Savepoint)
The equivalent in Postgres is

    SELECT 1







view thread (11+ messages)  latest in thread

Message-ID: <445011bb-b76d-9174-aebe-f6727944054d@gmx.net>
Permalink:  ../445011bb-b76d-9174-aebe-f6727944054d@gmx.net/
Also on:    postgresql.org/message-id/445011bb-b76d-9174-aebe-f6727944054d@gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: shammat@gmx.net, pgsql-admin@lists.postgresql.org
  Subject: Re: equivalent of @@TRANCOUNT PostgreSQL
  In-Reply-To: <445011bb-b76d-9174-aebe-f6727944054d@gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox