Re: crash in plancache with subtransactions

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: crash in plancache with subtransactions
Дата
Msg-id 1287707071-sup-9015@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: crash in plancache with subtransactions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Excerpts from Tom Lane's message of jue oct 21 19:36:07 -0300 2010:

> I'm not immediately sure why plpgsql_subxact_cb is failing to clean up
> correctly in this example, but that seems to be where to look.

I think the reason is that one econtext is pushed for function
execution, and another one for blocks that contain exceptions.  The
example function does not contain exceptions -- the savepoints are
handled by the external SQL code.

I'll have a closer look tomorrow.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Simplifying replication
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: max_wal_senders must die