Re: Fatal error "stack empty" on ROLLBACK

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fatal error "stack empty" on ROLLBACK
Дата
Msg-id 31794.1464022543@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Fatal error "stack empty" on ROLLBACK  ("dandl" <david@andl.org>)
Ответы Re: Fatal error "stack empty" on ROLLBACK  ("dandl" <david@andl.org>)
Список pgsql-general
"dandl" <david@andl.org> writes:
> SPI call to execute "ROLLBACK" triggers FATAL ERROR "stack empty". What does
> it mean? Nothing in the docs I can see.

I can't find that string anywhere in the Postgres sources.  However,
SPI should refuse to execute ROLLBACK, or any other transaction control
command; it should give you back a SPI_ERROR_TRANSACTION result code
instead.  Maybe you're not checking for failure results and expecting
the command to have done something?

            regards, tom lane


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

Предыдущее
От: Andrej Vanek
Дата:
Сообщение: Re: pg_basebackup: return value 1: reason?
Следующее
От: Peter Crosbie
Дата:
Сообщение: postgres 9.5 create function plpthon3u resets connections to server