Re: [PERFORM] temporary indexes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>, pgsql-hackers(at)postgresql(dot)org, pgsql-performance(at)postgresql(dot)org
Subject: Re: [PERFORM] temporary indexes
Date: 2006-02-28 18:06:56
Message-ID: 16797.1141150016@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

"Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> writes:
> EXISTS works in situations where
> you need to compare on multiple columns, so it is useful in many
> situations where IN or MIN/MAX techniques just don't work.

IN works fine on multiple columns:

(foo, bar, baz) IN (SELECT x, y, z FROM ...)

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-02-28 18:08:17 Re: Dead Space Map
Previous Message Tom Lane 2006-02-28 18:01:48 Re: Dead Space Map

Browse pgsql-performance by date

  From Date Subject
Next Message Steinar H. Gunderson 2006-02-28 18:08:37 Re: [HACKERS] temporary indexes
Previous Message Kevin Grittner 2006-02-28 17:55:32 Re: [PERFORM] temporary indexes