commit fails, rollback needed?

Started by fkater@googlemail.comabout 18 years ago2 messagesgeneral
Jump to latest
#1fkater@googlemail.com
fkater@googlemail.com

Hi,

when committing a transaction returns with an error: Do I have to
rollback the transaction in this case?

Felix

#2Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: fkater@googlemail.com (#1)
Re: commit fails, rollback needed?

fkater@googlemail.com wrote:

Hi,

when committing a transaction returns with an error: Do I have to
rollback the transaction in this case?

No; it is already rolled back.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.