Gurjeet Singh wrote: > On 2/9/07, Alvaro Herrera <[EMAIL PROTECTED]> wrote: > > > >At least it'd help those poor people trying to do conditional COMMIT or > >ROLLBACK based on the transaction status. > > > The user doesn't need to check the status of the transaction if he just > needs to end it. Just fire the END command and it'll take care of whether to > COMMIT or ROLLBACK the transaction:
Hmm, right. Maybe I was thinking in savepoints, which Merlin Moncure is so fond of complaining of ;-) -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc. ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org