Re: Query Plan - Index Scan & Seq Scan

Поиск
Список
Период
Сортировка
От Prasanth
Тема Re: Query Plan - Index Scan & Seq Scan
Дата
Msg-id 4283A51D.2060207@nqadmin.com
обсуждение исходный текст
Ответ на Re: Query Plan - Index Scan & Seq Scan  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Ok read about the indexes and type matches.

So is this fixed in 8.0?

Thanks,
-Prasanth.

Tom Lane wrote:
> Prasanth <dbadmin@nqadmin.com> writes:
>
>>code data type is int2.
>
>
> Ah-hah.  So "where code > 2::int2" should work noticeably better for
> you.  Or you could do "where code > '2'" to avoid hard-wiring the data
> type knowledge into your queries.  Or just change it to int4 ;-)
> Or update to 8.0.
>
>             regards, tom lane
>
>

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

Предыдущее
От: "Kavan, Dan (IMS)"
Дата:
Сообщение: Re: resource allocation ; postgresql-8.0
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: memory allocation ; postgresql-8.0