Re: commit inside a function failing

Поиск
Список
Период
Сортировка
От Christopher Browne
Тема Re: commit inside a function failing
Дата
Msg-id BLU436-SMTP17078F7243A8AD8C98CC6B3B3370@phx.gbl
обсуждение исходный текст
Ответ на commit inside a function failing  (Suresh Raja <suresh.rajaabc@gmail.com>)
Список pgsql-sql
<p dir="ltr">The straightforward answer is that stored functions always run *inside* the context of a preexisting
transaction,therefore you cannot request a separate transaction from within a stored function.<p dir="ltr">What you are
askingis fairly deeply impossible. 

В списке pgsql-sql по дате отправления:

Предыдущее
От: Jason Aleski
Дата:
Сообщение: Re: Better way to compute moving averages?
Следующее
От: Suresh Raja
Дата:
Сообщение: check if the same function is already running, then exit!