pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: Jim C. Nasby <jnasby@pervasive.com>
Cc: pgsql-hackers@postgresql.org
Cc: pgsql-performance@postgresql.org
Subject: Re: [PERFORM] temporary indexes
Date: Tue, 28 Feb 2006 13:06:56 -0500
Message-ID: <16797.1141150016@sss.pgh.pa.us> (raw)
In-Reply-To: <44043A34.EE98.0025.0@wicourts.gov>
References: <44041B68.EE98.0025.0@wicourts.gov>
	<20060228164515.GS82012@pervasive.com>
	<20060228164515.GS82012@pervasive.com>
	<16076.1141146348@sss.pgh.pa.us>
	<440435BC.EE98.0025.0@wicourts.gov>
	<44043A34.EE98.0025.0@wicourts.gov>

"Kevin Grittner" <Kevin.Grittner@wicourts.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



view thread (13+ messages)  latest in thread

Message-ID: <16797.1141150016@sss.pgh.pa.us>
Permalink:  ../16797.1141150016@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16797.1141150016@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Kevin.Grittner@wicourts.gov, jnasby@pervasive.com, pgsql-hackers@postgresql.org
  Subject: Re: [PERFORM] temporary indexes
  In-Reply-To: <16797.1141150016@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox