Skip site navigation (1) Skip section navigation (2)

Re: Savepoints inside functions

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Savepoints inside functions
Date: 2004-07-27 15:00:02
Message-ID: 200407271500.i6RF02u10193@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > If we get savepoints working inside functions, would they work if the
> > function is not called from a multi-statement transaction?
> 
> We'll make sure they do ;-)

That will be a neat trick because it will become a multi-statement
transaction when it wasn't before.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2004-07-27 15:03:46
Subject: Re: why is postgres-R not in standard dev Path.
Previous:From: Tom LaneDate: 2004-07-27 14:48:36
Subject: Re: Savepoints inside functions

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group