Re: Using index for IS NULL query

Поиск
Список
Период
Сортировка
От Vladimir Sitnikov
Тема Re: Using index for IS NULL query
Дата
Msg-id 1d709ecc0811111500i3c63e345qfa3be90264629256@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Using index for IS NULL query  (Tomas Vondra <tv@fuzzy.cz>)
Ответы Re: Using index for IS NULL query
Re: Using index for IS NULL query
Список pgsql-performance

Yes, NULL values are not stored in the index, but you may create functional index on
Are you sure NULL values are not stored? btree, gist and bitmap index and search for NULL values.

select amname, amindexnulls, amsearchnulls from pg_am;

 amname | amindexnulls | amsearchnulls
--------+--------------+---------------
 btree  | t            | t
 hash   | f            | f
 gist   | t            | t
 gin    | f            | f
 bitmap | t            | t
(5 rows)


Sincerely yours,
Vladimir Sitnikov

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

Предыдущее
От: Jim 'Decibel!' Nasby
Дата:
Сообщение: Re: Oddity with view (now with test case)
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Using index for IS NULL query