Thread

  1. PQfinish in transactions

    Brook Milligan <brook@trillium.nmsu.edu> — 1999-01-11T19:18:10Z

    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