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

Поиск
Список
Период
Сортировка
От Karsten Hilbert
Тема Re: How to setup default value "0000-00-00" for "date"
Дата
Msg-id 20040820110430.N598@hermes.hilbert.loc
обсуждение исходный текст
Ответ на Re: How to setup default value "0000-00-00" for "date"  (Michal Taborsky <michal@taborsky.cz>)
Ответы Re: How to setup default value "0000-00-00" for "date"  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
> I guess you know where it ends--the index is not used for IS [NOT] NULL
> expressions. The obvious workaround was to add DEFAULT value to
> "processed" in form of kind of anchor (we used '-infinity')

Wouldn't it have worked to add an index

    ... WHERE processed IS NULL

and go from there ?

Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

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

Предыдущее
От: Marek Lewczuk
Дата:
Сообщение: Help with optimizing query
Следующее
От: John Sidney-Woollett
Дата:
Сообщение: Re: making two tables with identical schemas appear as