Re: forcing pg to use an index

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: forcing pg to use an index
Дата
Msg-id 3101.1181417223@sss.pgh.pa.us
обсуждение исходный текст
Ответ на forcing pg to use an index  ("David Monarchi" <david.e.monarchi@gmail.com>)
Список pgsql-novice
"David Monarchi" <david.e.monarchi@gmail.com> writes:
> CREATE INDEX domain_alexa_stock_ticker_dom ON domain_dom
>   USING btree (alexa_contactinfo___companystockticker___symbol_dom)
>   WHERE NOT alexa_contactinfo___companystockticker___symbol_dom IS NULL;

Try spelling that as "foo is not null", instead.  There's a limit to the
complexity of the planner's predicate-proving ability ...

            regards, tom lane

В списке pgsql-novice по дате отправления:

Предыдущее
От: "David Monarchi"
Дата:
Сообщение: forcing pg to use an index
Следующее
От: Steve Lefevre
Дата:
Сообщение: disallowed characters in table names?