Re: pgsql: PL/Python: Fix potential NULL pointer dereference

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pgsql: PL/Python: Fix potential NULL pointer dereference
Дата
Msg-id a1f87b42-fd0c-e985-ff35-79e6ad5c890e@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: pgsql: PL/Python: Fix potential NULL pointer dereference  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgsql: PL/Python: Fix potential NULL pointer dereference
Список pgsql-committers
On 11/28/17 11:35, Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
>> PL/Python: Fix potential NULL pointer dereference
> 
> I do not think it's correct to just "return" out of the middle
> of a PG_TRY block --- doesn't that result in failing to pop the
> PG_exception_stack and error_context_stack?

OK, I'll revert and rethink.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix ReinitializeParallelDSM to tolerate finding no errorqueues.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Revert "PL/Python: Fix potential NULL pointer dereference"