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

Re: Savepoints inside functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Savepoints inside functions
Date: 2004-07-27 15:19:24
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
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.

Not really.  At most it might require relaxing a couple of asserts in
the state machine in xact.c.

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Kris JurkaDate: 2004-07-27 16:07:22
Subject: Re: casting strings to multidimensional arrays yields strange
Previous:From: Tom LaneDate: 2004-07-27 15:03:46
Subject: Re: why is postgres-R not in standard dev Path.

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