pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: PL/Python: Fix potential NULL pointer dereference
Date: Tue, 12 Dec 2017 16:42:59 -0500
Message-ID: <25438.1513114979@sss.pgh.pa.us> (raw)
In-Reply-To: <ff4fa2ea-5085-40dd-aabb-110c6255dade@2ndquadrant.com>
References: <E1eJin0-0002iK-Ge@gemulon.postgresql.org>
	<26463.1511886937@sss.pgh.pa.us>
	<a1f87b42-fd0c-e985-ff35-79e6ad5c890e@2ndquadrant.com>
	<de6d3b84-287a-b943-b5cc-6f5825657c6b@2ndquadrant.com>
	<16695.1512503159@sss.pgh.pa.us>
	<ff4fa2ea-5085-40dd-aabb-110c6255dade@2ndquadrant.com>

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




view thread (8+ messages)  latest in thread

Message-ID: <25438.1513114979@sss.pgh.pa.us>
Permalink:  ../25438.1513114979@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25438.1513114979@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, peter.eisentraut@2ndquadrant.com
  Subject: Re: pgsql: PL/Python: Fix potential NULL pointer dereference
  In-Reply-To: <25438.1513114979@sss.pgh.pa.us>
  References: <E1eJin0-0002iK-Ge@gemulon.postgresql.org> <26463.1511886937@sss.pgh.pa.us> <a1f87b42-fd0c-e985-ff35-79e6ad5c890e@2ndquadrant.com> <de6d3b84-287a-b943-b5cc-6f5825657c6b@2ndquadrant.com> <16695.1512503159@sss.pgh.pa.us> <ff4fa2ea-5085-40dd-aabb-110c6255dade@2ndquadrant.com> <25438.1513114979@sss.pgh.pa.us>

* 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