| От | Andrew Gierth |
|---|---|
| Тема | Re: Is there a memory leak in commit 8561e48? |
| Дата | |
| Msg-id | 87lgd99owr.fsf@news-spur.riddles.org.uk обсуждение исходный текст |
| Ответ на | Re: Is there a memory leak in commit 8561e48? (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Is there a memory leak in commit 8561e48?
|
| Список | pgsql-hackers |
>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:
Tom> I would bet money that that "_SPI_current->internal_xact" thing is
Tom> wrong/inadequate.
In particular this looks wrong to me: after doing:
do $$
begin
execute 'declare foo cursor with hold for select 1/x as a from (values (1),(0)) v(x)';
commit; -- errors within the commit
end;
$$;
ERROR: division by zero
CONTEXT: PL/pgSQL function inline_code_block line 1 at COMMIT
the SPI stack is not cleaned up at all, and _SPI_connected is >= 0 even
when back at the main backend command loop.
--
Andrew (irc:RhodiumToad)
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера