Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 721E29FB6D3 for ; Tue, 8 May 2007 16:55:59 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 44583-04 for ; Tue, 8 May 2007 16:55:54 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from cassarossa.samfundet.no (cassarossa.samfundet.no [129.241.93.19]) by postgresql.org (Postfix) with ESMTP id AE9369FB4EB for ; Tue, 8 May 2007 16:55:54 -0300 (ADT) Received: from trofast.sesse.net ([129.241.93.32]) by cassarossa.samfundet.no with esmtp (Exim 4.50) id 1HlVmp-0002hD-P0; Tue, 08 May 2007 21:55:52 +0200 Received: from sesse by trofast.sesse.net with local (Exim 3.36 #1 (Debian)) id 1HlVmp-0001yK-00; Tue, 08 May 2007 21:55:51 +0200 Date: Tue, 8 May 2007 21:55:51 +0200 From: "Steinar H. Gunderson" To: Y Sidhu Cc: pgsql-performance@postgresql.org Subject: Re: DISTINCT Question Message-ID: <20070508195551.GA7552@uio.no> Mail-Followup-To: Y Sidhu , pgsql-performance@postgresql.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Operating-System: Linux 2.6.20.4 on a x86_64 X-Message-Flag: Outlook? --> http://www.mozilla.org/products/thunderbird/ User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/135 X-Sequence-Number: 24525 On Tue, May 08, 2007 at 12:52:35PM -0700, Y Sidhu wrote: > Does using DISTINCT in a query force PG to abandon any index search it might > have embarked upon? No. If you need help with a specific query, please post it, along with your table definitions and EXPLAIN ANALYZE output. /* Steinar */ -- Homepage: http://www.sesse.net/