Re: Transactions, How to? - Mailing list pgsql-general

From Andreas Kretschmer
Subject Re: Transactions, How to?
Date
Msg-id 20100220173434.GA3743@tux
Whole thread Raw
In response to Transactions, How to?  (Andre Lopes <lopes80andre@gmail.com>)
Responses Re: Transactions, How to?  (Andre Lopes <lopes80andre@gmail.com>)
List pgsql-general
Andre Lopes <lopes80andre@gmail.com> wrote:

>
> But I can't complite if I add to the procedure a BEGIN and a COMMIT. I think
> this BEGIN and COMMIT will make a real transaction or I'am wrong?

Right, you are wrong ;-)

A function is atomic, you don't need a begin/commit inside.


Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."   (unknown)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°

pgsql-general by date:

Previous
From: Andre Lopes
Date:
Subject: Transactions, How to?
Next
From: Andre Lopes
Date:
Subject: Re: Transactions, How to?