Re: Discussion on missing optimizations

David Rowley <david.rowley@2ndquadrant.com>

From: David Rowley <david.rowley@2ndquadrant.com>
To: Andres Freund <andres@anarazel.de>
Cc: Adam Brusselback <adambrusselback@gmail.com>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2017-10-09T04:47:50Z
Lists: pgsql-hackers

Attachments

On 9 October 2017 at 17:41, David Rowley <david.rowley@2ndquadrant.com> wrote:
> Thoughts?

Actually, I was a little inconsistent with my List NULL/NIL checks in
that last one.

I've attached an updated patch.

-- 
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Commits

  1. Reduce "X = X" to "X IS NOT NULL", if it's easy to do so.