Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group