Steve Howe wrote:
>Friday, August 16, 2002, 10:54:26 AM, you wrote:
>DK> i'm using libpq. is there any way to determine if there is a transaction
>DK> is process thru libpq?
>There is not.
I too could benefit from a libpq feature that indicates if a transaction
is pending. This
helps in determining in a destructor (or Ada finalization) whether the
to rollback/commit is necessary (rather than depend upon the server
Assuming it is always necessary is clumsy, and imposes unnecessary
situations where a transaction may not be in progress.
After performing an INSERT operation, with a column containing a serial
it would be nice to obtain that serial value without having to resort to
SELECT on OID to get at it. INFORMIX (and ORACLE?) make this information
available to the embedded C/C++ clients. The same in libpq would be more
Warren W. Gay VE3WWG
In response to
pgsql-interfaces by date
|Next:||From: Warren W. Gay VE3WWG||Date: 2002-08-17 04:56:31|
|Subject: Transaction Abort State?|
|Previous:||From: Warren W. Gay VE3WWG||Date: 2002-08-17 04:39:53|
|Subject: libpq bug handling signals|