pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Forest Wilkinson <fspam@home.com>
Cc: pgsql-sql@hub.org
Subject: Re: transactions surrounding extension functions
Date: Thu, 28 Sep 2000 21:04:27 +0200 (CEST)
Message-ID: <Pine.LNX.4.21.0009282103560.375-100000@peter> (raw)
In-Reply-To: <ts27ts498olm1t3btnddev9kss00etofn5@4ax.com>

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/




view thread (2+ messages)

Message-ID: <Pine.LNX.4.21.0009282103560.375-100000@peter>
Permalink:  ../Pine.LNX.4.21.0009282103560.375-100000@peter/
Also on:    postgresql.org/message-id/Pine.LNX.4.21.0009282103560.375-100000@peter

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: peter_e@gmx.net, fspam@home.com, pgsql-sql@hub.org
  Subject: Re: transactions surrounding extension functions
  In-Reply-To: <Pine.LNX.4.21.0009282103560.375-100000@peter>
  References: <ts27ts498olm1t3btnddev9kss00etofn5@4ax.com> <Pine.LNX.4.21.0009282103560.375-100000@peter>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox