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

From Andre Lopes
Subject Re: Transactions, How to?
Date
Msg-id 18f98e681002200936y4ce5ac05s4b7b40839d6bd948@mail.gmail.com
Whole thread Raw
In response to Re: Transactions, How to?  (Andreas Kretschmer <akretschmer@spamfence.net>)
List pgsql-general
Tkanks for the reply.
 
Best Regards,


 
On Sat, Feb 20, 2010 at 5:34 PM, Andreas Kretschmer <akretschmer@spamfence.net> wrote:
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°

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Andreas Kretschmer
Date:
Subject: Re: Transactions, How to?
Next
From: Heddon's Gate Hotel
Date:
Subject: Re: PostgreSQL fails to start