On 11/28/17 11:35, Tom Lane wrote: > Peter Eisentraut <pete...@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