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!
In response to
pgsql-novice by date
|Next:||From: Devrim GÜNDÜZ||Date: 2009-09-03 07:44:30|
|Subject: Re: [NOVICE] psql: FATAL: the database system is in
|Previous:||From: Tom Lane||Date: 2009-09-02 20:01:31|
|Subject: Re: How should I end a transaction with possibly failed queries? |