Re: index for inet and >> (contains) function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: index for inet and >> (contains) function
Дата
Msg-id 17497.1143047291@sss.pgh.pa.us
обсуждение исходный текст
Ответ на index for inet and >> (contains) function  (Richard Jones <rich@annexia.org>)
Список pgsql-general
Richard Jones <rich@annexia.org> writes:
>   select countryid from iptocountry where network >> '1.2.3.4';

> Is there a suitable index that I can put on the network field to fix
> this?

Not at the moment :-(.  I think it might be possible to write a GIST
opclass that could handle this, but there's not one there today.

            regards, tom lane

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

Предыдущее
От: Vivek Khera
Дата:
Сообщение: Re: Advantages of PostgreSQL over MySQL 5.0
Следующее
От: "Thomas F. O'Connell"
Дата:
Сообщение: Re: Autovacuum Daemon Disrupting dropdb?