From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: PL/Python: Fix potential NULL pointer dereference
Date: Tue, 28 Nov 2017 13:35:13 -0500
Message-ID: <a1f87b42-fd0c-e985-ff35-79e6ad5c890e@2ndquadrant.com> (raw)
In-Reply-To: <26463.1511886937@sss.pgh.pa.us>
References: <E1eJin0-0002iK-Ge@gemulon.postgresql.org>
<26463.1511886937@sss.pgh.pa.us>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter.eisentraut@2ndquadrant.com, tgl@sss.pgh.pa.us
Subject: Re: pgsql: PL/Python: Fix potential NULL pointer dereference
In-Reply-To: <a1f87b42-fd0c-e985-ff35-79e6ad5c890e@2ndquadrant.com>
References: <E1eJin0-0002iK-Ge@gemulon.postgresql.org> <26463.1511886937@sss.pgh.pa.us> <a1f87b42-fd0c-e985-ff35-79e6ad5c890e@2ndquadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox