| From: | "A(dot) Kretschmer" <akretschmer(at)despammed(dot)com> |
|---|---|
| To: | pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: PL/SQL Function: self-contained transaction? |
| Date: | 2005-08-22 18:15:08 |
| Message-ID: | 20050822181508.GA14469@webserv.wug-glas.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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 ===
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Greg Stark | 2005-08-22 18:20:00 | Re: PL/SQL Function: self-contained transaction? |
| Previous Message | Marc G. Fournier | 2005-08-22 17:16:30 | PL/SQL Function: self-contained transaction? |