X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 48DEF9DCB9E for ; Wed, 15 Feb 2006 17:58:57 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 28683-09 for ; Wed, 15 Feb 2006 17:58:58 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from relay01.mdc.ubisoft.com (relay01.mdc.ubisoft.com [216.98.56.134]) by postgresql.org (Postfix) with ESMTP id 9623B9DC803 for ; Wed, 15 Feb 2006 17:58:53 -0400 (AST) Received: from mdc-owa01.ubisoft.org (srvowa1-mdc.ubisoft.org [10.129.1.20]) by smarthost.mdc.ubisoft.com (Postfix) with ESMTP id B5FCC4BBED for ; Wed, 15 Feb 2006 16:58:54 -0500 (EST) Received: from UBIMAIL1.ubisoft.org ([10.129.1.15]) by mdc-owa01.ubisoft.org with Microsoft SMTPSVC(6.0.3790.1830); Wed, 15 Feb 2006 16:58:54 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6327B.0346EC27" Subject: How to force PostgreSQL using an index Date: Wed, 15 Feb 2006 16:58:54 -0500 Message-ID: <1E293D3FF63A3740B10AD5AAD88535D2019091DC@UBIMAIL1.ubisoft.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to force PostgreSQL using an index Thread-Index: AcYyewNHm+5vkbPFSwyIhZ3FW0zILA== From: "Daniel Caune" To: X-OriginalArrivalTime: 15 Feb 2006 21:58:54.0394 (UTC) FILETIME=[034641A0:01C6327B] X-Ubisoft-MailScanner-Information: Please contact administrators@ubisoft.qc.ca X-Ubisoft-MailScanner: Found to be clean X-Ubisoft-MailScanner-SpamCheck: X-MailScanner-From: daniel.caune@ubisoft.com X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.124 required=5 tests=[AWL=0.123, HTML_MESSAGE=0.001] X-Spam-Score: 0.124 X-Spam-Level: X-Archive-Number: 200602/186 X-Sequence-Number: 24196 This is a multi-part message in MIME format. ------_=_NextPart_001_01C6327B.0346EC27 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 Is there a way to force PostgreSQL using an index for a SELECT statement? I just want to confirm that the index PostgreSQL decides to use is better than the index I supposed PostgreSQL would use (I already analyze the table). =20 Regards, =20 -- Daniel CAUNE Ubisoft Online Technology (514) 4090 2040 ext. 5418 =20 ------_=_NextPart_001_01C6327B.0346EC27 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

Is there a way to force PostgreSQL using an = index for a SELECT statement?  I just want to confirm that the index = PostgreSQL decides to use is better than the index I supposed PostgreSQL would use (I = already analyze the table).

 

Regards,

 

--

Daniel CAUNE

Ubisoft Online Technology

(514) 4090 2040 ext. 5418

 

------_=_NextPart_001_01C6327B.0346EC27--