Re: Transactions, How to?

Поиск
Список
Период
Сортировка
От Andre Lopes
Тема Re: Transactions, How to?
Дата
Msg-id 18f98e681002200936y4ce5ac05s4b7b40839d6bd948@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Transactions, How to?  (Andreas Kretschmer <akretschmer@spamfence.net>)
Список 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 по дате отправления:

Предыдущее
От: Andreas Kretschmer
Дата:
Сообщение: Re: Transactions, How to?
Следующее
От: Heddon's Gate Hotel
Дата:
Сообщение: Re: PostgreSQL fails to start