Re: PL/SQL Function: self-contained transaction? - Mailing list pgsql-sql

From A. Kretschmer
Subject Re: PL/SQL Function: self-contained transaction?
Date
Msg-id 20050822181508.GA14469@webserv.wug-glas.de
Whole thread Raw
In response to PL/SQL Function: self-contained transaction?  ("Marc G. Fournier" <scrappy@postgresql.org>)
List 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 by date:

Previous
From: Greg Stark
Date:
Subject: Re: PL/SQL Function: self-contained transaction?
Next
From: "Lane Van Ingen"
Date:
Subject: Why Doesn't SQL This Expression Work?