Re: NULL-pointer check and incorrect comment for pstate in addRangeTableEntry - Mailing list pgsql-hackers

From Robert Haas
Subject Re: NULL-pointer check and incorrect comment for pstate in addRangeTableEntry
Date
Msg-id CA+TgmobRs1CJXmgS4Xt2s3T9r8WR=0vfbttwgWqZu+J9M59suw@mail.gmail.com
Whole thread Raw
In response to Re: NULL-pointer check and incorrect comment for pstate in addRangeTableEntry  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: NULL-pointer check and incorrect comment for pstate in addRangeTableEntry  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On Wed, Mar 4, 2015 at 7:38 AM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> On Wed, Mar 4, 2015 at 9:12 PM, Greg Stark <stark@mit.edu> wrote:
>> This sounded familiar... I pointed out the same thing a while back and Tom
>> had some feedback on what to do about it:
>>
>> http://www.postgresql.org/message-id/23294.1384142407@sss.pgh.pa.us
>
> Translated into code I guess that this gives the attached patch.

Looks fine to me, so committed.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Strange assertion using VACOPT_FREEZE in vacuum.c
Next
From: Peter Eisentraut
Date:
Subject: Re: Precedence of standard comparison operators