Re: How should I end a transaction with possibly failed queries?

From: Sergey Samokhin <prikrutil(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: How should I end a transaction with possibly failed queries?
Date: 2009-09-02 20:08:44
Message-ID: e42595410909021308q56c36daek209b06794ca706fe@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello!

On Thu, Sep 3, 2009 at 12:01 AM, Tom Lane<tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2009-09-03 07:44:30 Re: [NOVICE] psql: FATAL: the database system is in recovery mode
Previous Message Tom Lane 2009-09-02 20:01:31 Re: How should I end a transaction with possibly failed queries?