Re: Optimization rules for semi and anti joins

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Kevin Grittner" <Kgrittn(dot)CCAP(dot)Courts(at)wicourts(dot)gov>
Cc: <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Optimization rules for semi and anti joins
Date: 2009-02-12 13:29:18
Message-ID: 4993CFCE.EE98.0025.0@wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>>> I wrote:
> You've got a name, and you want a list of outstanding warrants for
> parties with a matching name.

Correction, if that was the list you wanted, you would use an inner
join, not a semijoin. For purposes of this illustration I guess you
would be looking for a list of parties who have outstanding warrants,
not a list of the warrants themselves.

-Kevin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2009-02-12 13:30:06 Re: pg_upgrade project status
Previous Message Gurjeet Singh 2009-02-12 13:17:22 Re: Fwd: Need help in porting Oracle PL/SQL's OUT paramater based procedures