Re: another index question - Mailing list pgsql-general

From Sean Harding
Subject Re: another index question
Date
Msg-id 20010401143411.R22353@dogcow.org
Whole thread Raw
In response to Re: another index question  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Sun Apr 01 at 05:22:34 PM, Tom Lane wrote:

> Since you know the subselect is going to produce exactly one tuple,
> there's no need to use IN.

Thanks Tom. That definitely helps a lot.

sean

--
Sean Harding sharding@dogcow.org  | "Never before and never since, I promise,
http://www.dogcow.org/sean/       |  will the whole world be warm as this."
                                  |  -- 10,000 Maniacs

pgsql-general by date:

Previous
From: Paul Tomblin
Date:
Subject: Re: Ok, why isn't it using *this* index?
Next
From: Joel Burton
Date:
Subject: Re: Can I get the default value for an attribute (field) ?