Re: BUG #7881: SQL function failures in long-lived calling contexts

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #7881: SQL function failures in long-lived calling contexts
Дата
Msg-id 13304.1362349082@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #7881: SQL function failures in long-lived calling contexts  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
I wrote:
> Or we could add fields recording the current transaction/subtransaction
> IDs, then throw away and regenerate the function cache entry if that
> subxact is no longer active.  This would be a bit more invasive/riskier
> than throwing a "not supported" error, but it would preserve the
> functionality.

The attached patch seems fairly reasonable for this.

            regards, tom lane


Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #7881: SQL function failures in long-lived calling contexts
Следующее
От: Louis-Arnaud Iscla
Дата:
Сообщение: "Password" issues -- bug??