Re: How to setup default value "0000-00-00" for "date"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to setup default value "0000-00-00" for "date"
Дата
Msg-id 1198.1093026259@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: How to setup default value "0000-00-00" for "date"  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I know we index NULL values in multi-column indexes, but do we
> currently even store the rows that have only NULLs in a the index.

btree does.  I don't think any of the other index AMs do.  hash could
probably be made to without much trouble (just decree a hash value,
say zero, for nulls).  But I dunno what rtree or gist would do with a
leading-column null.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: How to setup default value "0000-00-00" for "date"
Следующее
От: Jeff
Дата:
Сообщение: Re: Postgres filling up hard drive with swap files