Force query to use index

Поиск
Список
Период
Сортировка
От Dennis
Тема Force query to use index
Дата
Msg-id 9gle1o$22jr$2@news.tht.net
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: LEFT JOIN ...
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: Better Archives?