PL/SQL Function: self-contained transaction?
От
Marc G. Fournier
Тема
PL/SQL Function: self-contained transaction?
Дата
Msg-id
20050822141357.B1002@ganymede.hub.org
Список
Дерево обсуждения
PL/SQL Function: self-contained transaction? "Marc G. Fournier" <scrappy@postgresql.org>
Re: PL/SQL Function: self-contained transaction? "A. Kretschmer" <akretschmer@despammed.com>
Re: PL/SQL Function: self-contained transaction? Greg Stark <gsstark@mit.edu>
Re: PL/SQL Function: self-contained transaction? Richard_D_Levine@raytheon.com
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, can you do a begin/end within the function itself to 'force' commit on a specific part of the function? ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664
В списке pgsql-sql по дате отправления