pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Haroldo Stenger <hstenger@adinet.com.uy>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-admin@postgresql.org
Subject: Re: Multiple SQL statements within a function...
Date: 01 Aug 2002 01:09:45 -0300
Message-ID: <1028174986.21143.12.camel@caverna> (raw)
In-Reply-To: <4230.1028174767@sss.pgh.pa.us>
References: <A799F7647794D311924A005004ACEA97080DDEF2@cprodamibs249.prodam>
	<1028144000.25315.52.camel@linda>
	<00e101c238cf$d03dec20$3c0aa8c0@nmtransfer.com>
	<4230.1028174767@sss.pgh.pa.us>

El jue, 01-08-2002 a las 01:06, Tom Lane escribió:
> Yes.  The function is necessarily invoked within an interactive query
> (SELECT, UPDATE, or whatever) and that establishes the transaction
> context.  The function cannot create a transaction boundary, because
> doing so would break whatever query it was called from.

That will change with nested transactions support, won't it?

Regards





view thread (4+ messages)

Message-ID: <1028174986.21143.12.camel@caverna>
Permalink:  ../1028174986.21143.12.camel@caverna/
Also on:    postgresql.org/message-id/1028174986.21143.12.camel@caverna

 · 

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-admin@postgresql.org
  Cc: hstenger@adinet.com.uy, tgl@sss.pgh.pa.us
  Subject: Re: Multiple SQL statements within a function...
  In-Reply-To: <1028174986.21143.12.camel@caverna>
  References: <A799F7647794D311924A005004ACEA97080DDEF2@cprodamibs249.prodam> <1028144000.25315.52.camel@linda> <00e101c238cf$d03dec20$3c0aa8c0@nmtransfer.com> <4230.1028174767@sss.pgh.pa.us> <1028174986.21143.12.camel@caverna>

* 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