From: Joshua D. Drake <jd@commandprompt.com>
To: Y Sidhu <ysidhu@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: DISTINCT Question
Date: Tue, 08 May 2007 12:57:19 -0700
Message-ID: <4640D61F.9040503@commandprompt.com> (raw)
In-Reply-To: <b09064f30705081252i27df3236hb12c13b923d0f45f@mail.gmail.com>
References: <b09064f30705081252i27df3236hb12c13b923d0f45f@mail.gmail.com>
Y Sidhu wrote:
> Does using DISTINCT in a query force PG to abandon any index search it
> might have embarked upon?
Depends on the where clause.
>
> --
> Yudhvir Singh Sidhu
> 408 375 3134 cell
--
=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/
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: jd@commandprompt.com, ysidhu@gmail.com
Subject: Re: DISTINCT Question
In-Reply-To: <4640D61F.9040503@commandprompt.com>
* 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