Re: Transactions, How to?

From: Andre Lopes <lopes80andre(at)gmail(dot)com>
To: Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Transactions, How to?
Date: 2010-02-20 17:36:49
Message-ID: 18f98e681002200936y4ce5ac05s4b7b40839d6bd948@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tkanks for the reply.

Best Regards,

On Sat, Feb 20, 2010 at 5:34 PM, Andreas Kretschmer <
akretschmer(at)spamfence(dot)net> wrote:

> Andre Lopes <lopes80andre(at)gmail(dot)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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Massa, Harald Armin 2010-02-20 21:38:03 Re: PostgreSQL fails to start
Previous Message Andreas Kretschmer 2010-02-20 17:34:34 Re: Transactions, How to?