PQfinish in transactions - Mailing list pgsql-hackers

From Brook Milligan
Subject PQfinish in transactions
Date
Msg-id 199901111918.MAA29200@trillium.nmsu.edu
Whole thread Raw
List pgsql-hackers
What happens if PQfinish() is called from within a transaction PRIOR
to either committing or rolling back the transaction?

Does the transaction get committed?  rolled back?  left in an
undefined state?

Also, in the normal case of a begin/commit sequence, does the
transaction end at the commit (i.e., is begin/commit/commit an error)
or does the transaction continue until the connection is closed?

Thanks for your help.

Cheers,
Brook


pgsql-hackers by date:

Previous
From: Sferacarta Software
Date:
Subject: Re[2]: [HACKERS] JOIN syntax. Examples?
Next
From: "Jackson, DeJuan"
Date:
Subject: CONSTRAINTS...