Re: Savepoints inside functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Savepoints inside functions
Дата
Msg-id 28762.1090941564@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Savepoints inside functions  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: why is postgres-R not in standard dev Path.
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Interesting bug in tablespaces