Re: How should I end a transaction with possibly failed queries? - Mailing list pgsql-novice

From Sergey Samokhin
Subject Re: How should I end a transaction with possibly failed queries?
Date
Msg-id e42595410909021308q56c36daek209b06794ca706fe@mail.gmail.com
Whole thread Raw
In response to Re: How should I end a transaction with possibly failed queries?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
Hello!

On Thu, Sep 3, 2009 at 12:01 AM, Tom Lane<tgl@sss.pgh.pa.us>
> If anything failed, COMMIT is interpreted as ROLLBACK anyway.

Tom, thanks for your answer! This means that I will end up with the
first sample which is more elegant and concise than second one!

--
Sergey Samokhin

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: How should I end a transaction with possibly failed queries?
Next
From: Guillaume Smet
Date:
Subject: Re: [BUGS] psql: FATAL: the database system is in recovery mode