Re: Re: Does PostgreSQL support EXISTS? - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Re: Does PostgreSQL support EXISTS?
Date
Msg-id 200106131553.f5DFrZs11003@candle.pha.pa.us
Whole thread Raw
In response to Re: Re: Does PostgreSQL support EXISTS?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Re: Does PostgreSQL support EXISTS?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Are we anywhere with optimizing IN to EXISTS?  I didn't think there was
> > any work being done in that area.
>
> I don't think it's that hard to do within the outer-join mechanism,
> except for this little issue about NULLs.  The planner already makes
> querytree alterations of comparable complexity, to deal with views and
> subselects...

Doing that would elimate the need for query sources, at least for a
while.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_dump problem
Next
From: Lamar Owen
Date:
Subject: Re: Oracle news article