PQfinish in transactions

From: Brook Milligan <brook(at)trillium(dot)NMSU(dot)Edu>
To: hackers(at)postgresql(dot)org
Subject: PQfinish in transactions
Date: 1999-01-11 19:18:10
Message-ID: 199901111918.MAA29200@trillium.nmsu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-hackers by date

  From Date Subject
Next Message Jackson, DeJuan 1999-01-11 19:44:24 CONSTRAINTS...
Previous Message Sferacarta Software 1999-01-11 14:45:51 Re[2]: [HACKERS] JOIN syntax. Examples?