Re: transactions surrounding extension functions - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: transactions surrounding extension functions
Date
Msg-id Pine.LNX.4.21.0009282103560.375-100000@peter
Whole thread Raw
In response to transactions surrounding extension functions  (Forest Wilkinson <fspam@home.com>)
List 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@gmx.net       http://yi.org/peter-e/



pgsql-sql by date:

Previous
From: Forest Wilkinson
Date:
Subject: transactions surrounding extension functions
Next
From: Carolyn Wong
Date:
Subject: Re: memory usage