Re: Index usage for tstzrange?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Index usage for tstzrange?
Дата
Msg-id 514BA04B.3040609@agliodbs.com
обсуждение исходный текст
Ответ на Re: Index usage for tstzrange?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Index usage for tstzrange?  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-performance
> Well, no.  <@ is not a btree-indexable operator.

Yes, but it's equivalent to ( ( a >= b1 or b1 is null ) and ( a < b2 or
b2 is null ) ), which *is* btree-indexable and can use an index.  So it
seems like the kind of optimization we could eventually make.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Index usage for tstzrange?
Следующее
От: Cindy Makarowsky
Дата:
Сообщение: Performance of query