Re: pgsql: PL/Python: Fix potential NULL pointer dereference - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: PL/Python: Fix potential NULL pointer dereference
Date
Msg-id 26463.1511886937@sss.pgh.pa.us
Whole thread Raw
In response to pgsql: PL/Python: Fix potential NULL pointer dereference  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: pgsql: PL/Python: Fix potential NULL pointer dereference  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-committers
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?
        regards, tom lane


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: PL/Python: Fix potential NULL pointer dereference
Next
From: Robert Haas
Date:
Subject: pgsql: Teach bitmap heap scan to cope with absence of a DSA.