Re: BUG #7516: PL/Perl crash

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #7516: PL/Perl crash
Дата
Msg-id 21328.1346972585@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #7516: PL/Perl crash  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
I wrote:
> Another thing that seems a bit risky is that plperl_func_handler sets up
> current_call_data as a pointer to a mostly-zeroed struct and then does
> assorted things that could throw error.  That would leave a dangling
> value of current_call_data ...

Meh, scratch that --- I missed that the caller of plperl_func_handler is
where there's a PG_TRY block that's responsible for restoring the old
value of current_call_data.  It would still be interesting to nose
around and see what's in *current_call_data, as well as any of the
pointed-to data structures that exist.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #7516: PL/Perl crash
Следующее
От: Pavan Deolasee
Дата:
Сообщение: Re: BUG #7521: Cannot disable WAL log while using pg_dump