Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-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


pgsql-performance by date

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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group