Re: transactions surrounding extension functions

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Forest Wilkinson <fspam(at)home(dot)com>
Cc: pgsql-sql(at)hub(dot)org
Subject: Re: transactions surrounding extension functions
Date: 2000-09-28 19:04:27
Message-ID: Pine.LNX.4.21.0009282103560.375-100000@peter
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Forest Wilkinson writes:

> Does this mean that when I call a function I wrote, which is composed
> of several queries, each of those queries will be executed in its own
> transaction?

No

> Or, will the statement containing the function call be executed in its
> own transaction, thereby including all the queries composing my
> function in that same transaction?

Yes

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Carolyn Wong 2000-09-29 00:19:59 Re: memory usage
Previous Message Forest Wilkinson 2000-09-28 18:30:20 transactions surrounding extension functions