Thread: commit fails, rollback needed?

commit fails, rollback needed?

From
"fkater@googlemail.com"
Date:
Hi,

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

Felix



Re: commit fails, rollback needed?

From
Alvaro Herrera
Date:
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.