Re: transaction in progress - Mailing list pgsql-general

From Bruce Momjian
Subject Re: transaction in progress
Date
Msg-id 200312061040.hB6AeEf25336@candle.pha.pa.us
Whole thread Raw
In response to transaction in progress  ("Rick Gigger" <rgigger@leadership-solutions.net>)
Responses Re: transaction in progress
List pgsql-general
Rick Gigger wrote:
> Is there a convenient way to tell in postgres if a transaction has been
> started or not?

libpq has PQtransactionStatus, though I wonder why we don't have this
visible via a read-only GUC variable to make it easier for other languages.

Anyone?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Misplaced modifier in Postgresql license
Next
From: Bruce Momjian
Date:
Subject: Re: postgresql locks the whole table!