X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id D5597D1B900 for ; Tue, 26 Aug 2003 16:12:47 -0300 (ADT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 08656-04 for ; Tue, 26 Aug 2003 16:12:18 -0300 (ADT) Received: from host2.hostseguro.com (unknown [200.198.188.133]) by svr1.postgresql.org (Postfix) with ESMTP id 588BED1B8D5 for ; Tue, 26 Aug 2003 16:12:16 -0300 (ADT) Received: from cpanel by host2.hostseguro.com with local (Exim 4.20) id 19rjES-0000ma-1a for pgsql-admin@postgresql.org; Tue, 26 Aug 2003 16:11:56 -0300 Received: from 200.180.172.1 ([200.180.172.1]) by www.sistemica.info (IMP) with HTTP for ; Tue, 26 Aug 2003 16:11:55 -0300 Message-ID: <1061925115.3f4bb0fc02758@www.sistemica.info> Date: Tue, 26 Aug 2003 16:11:56 -0300 From: Rhaoni Chiu Pereira To: Lista PostgreSQL Subject: How to force an Index ? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 200.180.172.1 X-MailScanner-Information: Verificado pelo McAfee VirusScan / Scanned by McAfee VirusScan X-MailScanner: Nao infectado / Found to be clean X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host2.hostseguro.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [32001 32001] / [47 12] X-AntiAbuse: Sender Address Domain - sistemica.info X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/304 X-Sequence-Number: 10025 Hi List, I'm looking for a way to force an Index to be used in a SQL query. In a Oracle SQL query it would be like: Select /*+ my_index*/ * from my_table where my_name="rhaoni"; So it would use the index my_index to execute the query. How can I make this in a PostgreSQL SQL query. Atenciosamente, Rhaoni Chiu Pereira Sistêmica Computadores Visite-nos na Web: http://sistemica.info Fone/Fax : +55 51 3328 1122