Re: Re: Does PostgreSQL support EXISTS?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Michael Meskes <meskes(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: Re: Does PostgreSQL support EXISTS?
Date: 2001-06-13 15:53:35
Message-ID: 200106131553.f5DFrZs11003@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-06-13 15:56:23 Re: Re: Does PostgreSQL support EXISTS?
Previous Message C. R. Oldham 2001-06-13 15:52:56 RE: pg_dump problem