Re: determining if there's a transaction in progress - Mailing list pgsql-interfaces

From Steve Howe
Subject Re: determining if there's a transaction in progress
Date
Msg-id 17444773280.20020816151103@carcass.dhs.org
Whole thread Raw
In response to determining if there's a transaction in progress  (Daniel Kelley <dkelley@otec.com>)
List pgsql-interfaces
Hello Daniel,

Friday, August 16, 2002, 10:54:26 AM, you wrote:


DK> hi-

DK> i'm using libpq.  is there any way to determine if there is a transaction
DK> is process thru libpq?
There is not.

DK> specifically, i'm looking for a function that would tell me whether or not
DK> there are changes that should be committed to the db before program exit.
If you want to ensure it, I suggest you to *always* start a
transaction and then commit it at the end.

------------- 
Best regards,Steve Howe                           mailto:howe@carcass.dhs.org



pgsql-interfaces by date:

Previous
From: Daniel Kelley
Date:
Subject: determining if there's a transaction in progress
Next
From: "Warren W. Gay VE3WWG"
Date:
Subject: libpq bug handling signals