Re: [PATCH] Optimize IS DISTINCT FROM NULL => IS NOT NULL

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marti Raudsepp <marti(at)juffo(dot)org>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Optimize IS DISTINCT FROM NULL => IS NOT NULL
Date: 2012-03-08 21:20:37
Message-ID: 7472.1331241637@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Marti Raudsepp <marti(at)juffo(dot)org> writes:
> But I don't feel strongly about this, maybe it's not worth
> complicating this big function further. :)

Yeah, that was kind of what I felt about it. If this patch were part of
a grand plan to make IS DISTINCT FROM smarter, that would be one thing.
But if we were to embark on that, likely as not it would involve a
redesign that would invalidate this code anyway. So I'd just as soon
keep it simple for now.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2012-03-08 21:33:24 Re: regress bug
Previous Message Thom Brown 2012-03-08 21:01:40 Re: Checksums, state of play