Re: nulls in GIN index

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: nulls in GIN index
Дата
Msg-id 53E86E11.9020106@vmware.com
обсуждение исходный текст
Ответ на nulls in GIN index  (worthy7 <worthy.vii@gmail.com>)
Ответы Re: nulls in GIN index  (worthy7 <worthy.vii@gmail.com>)
Список pgsql-hackers
On 08/11/2014 01:19 AM, worthy7 wrote:
>
> http://www.postgresql.org/docs/9.1/static/gin-implementation.html
> """As of PostgreSQL 9.1, NULL key values can be included in the index. Also,
> placeholder NULLs are included in the index for indexed items that are NULL
> or contain no keys according to extractValue. This allows searches that
> should find empty items to do so."""
>
> How do I define an index that includes nulls then?

You don't need to do anything special, any NULL values will be indexed 
automatically.

- Heikki




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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Function to know last log write timestamp
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: Function to know last log write timestamp