Re: Savepoints inside functions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Savepoints inside functions
Date
Msg-id 28762.1090941564@sss.pgh.pa.us
Whole thread Raw
In response to Re: Savepoints inside functions  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: why is postgres-R not in standard dev Path.
Next
From: Christopher Kings-Lynne
Date:
Subject: Interesting bug in tablespaces