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 25438.1513114979@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: PL/Python: Fix potential NULL pointer dereference  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-committers
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> On 12/5/17 14:45, Tom Lane wrote:
>> On the whole it seems like it might be better to dodge this whole business
>> of changing "result" inside the TRY.  You could do that if you did
>> something like ...

> Yeah, that looks much better.  Next try attached.

Looks sane to me.

            regards, tom lane


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pgsql: PL/Python: Fix potential NULL pointer dereference
Next
From: Robert Haas
Date:
Subject: pgsql: Remove obsolete comment.