Re: NOT IN subquery optimization - Mailing list pgsql-hackers

From Jim Finnerty
Subject Re: NOT IN subquery optimization
Date
Msg-id 1551190062052-0.post@n3.nabble.com
Whole thread Raw
In response to Re: NOT IN subquery optimization  (David Rowley <david.rowley@2ndquadrant.com>)
Responses Re: NOT IN subquery optimization  (David Rowley <david.rowley@2ndquadrant.com>)
List pgsql-hackers
The problem is that the special optimization that was proposed for the case
where the subquery has no WHERE clause isn't valid when the subquery returns
no rows.  That additional optimization needs to be removed, and preferably
replaced with some sort of efficient run-time test.





-----
Jim Finnerty, AWS, Amazon Aurora PostgreSQL
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-hackers-f1928748.html


pgsql-hackers by date:

Previous
From: ilmari@ilmari.org (Dagfinn Ilmari Mannsåker)
Date:
Subject: Re: pgbench MAX_ARGS
Next
From: "David G. Johnston"
Date:
Subject: Re: BUG #15646: Inconsistent behavior for current_setting/set_config