Re: NOT IN subquery optimization

From: Jim Finnerty <jfinnert(at)amazon(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: NOT IN subquery optimization
Date: 2019-02-26 14:07:42
Message-ID: 1551190062052-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David G. Johnston 2019-02-26 14:11:12 Re: BUG #15646: Inconsistent behavior for current_setting/set_config
Previous Message Dagfinn Ilmari Mannsåker 2019-02-26 14:02:39 Re: pgbench MAX_ARGS