Re: assert in nested SQL procedure call in current HEAD

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема Re: assert in nested SQL procedure call in current HEAD
Дата
Msg-id 87bmcgt8cu.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Ответ на Re: assert in nested SQL procedure call in current HEAD  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: assert in nested SQL procedure call in current HEAD  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
>>>>> "Peter" == Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:

 Peter> The problem with these nested procedure calls is that if the
 Peter> nested call

Did you miss the fact that the issue only occurs when the top-level
procedure does a rollback? The problem is not with nested calls, but
rather with the fact that commit or rollback is leaving ActiveSnapshot
unset, which is (as Tom pointed out at the linked post) not the expected
condition inside PL code.

-- 
Andrew (irc:RhodiumToad)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: late binding of shared libs for C functions
Следующее
От: Andrew Gierth
Дата:
Сообщение: Re: late binding of shared libs for C functions