Re: PL/SQL Function: self-contained transaction?

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: PL/SQL Function: self-contained transaction?
Дата
Msg-id 20050822181508.GA14469@webserv.wug-glas.de
обсуждение исходный текст
Ответ на PL/SQL Function: self-contained transaction?  ("Marc G. Fournier" <scrappy@postgresql.org>)
Список pgsql-sql
am  22.08.2005, um 14:16:30 -0300 mailte Marc G. Fournier folgendes:
> 
> In PostgreSQL, as everyone knows, a QUERY == a transaction, unless wrap'd 
> in a BEGIN/END explicitly ... how does that work with a function?  is there 
> an implicit BEGIN/END around the whole transaction, or each QUERY within 
> the function itself?
> 
> If the whole function (and all QUERYs inside of it) are considered one 
> transaction,

Yes, exactly. 


Regards, Andreas
-- 
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47212,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net===    Schollglas Unternehmensgruppe    === 


В списке pgsql-sql по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: PL/SQL Function: self-contained transaction?
Следующее
От: "Lane Van Ingen"
Дата:
Сообщение: Why Doesn't SQL This Expression Work?