Force query to use index - Mailing list pgsql-sql

From Dennis
Subject Force query to use index
Date
Msg-id 9gle1o$22jr$2@news.tht.net
Whole thread Raw
List pgsql-sql
Can you force a query to use a specific index?

Can I for instance say:

select * from tableA where user = 'soandso' and someint = -1 and somedata = 
'foo' ;

and somewhere in that query tell it to use the tableA_suchandsuch index?


-Dennis


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: LEFT JOIN ...
Next
From: The Hermit Hacker
Date:
Subject: Re: Better Archives?