Re: BUG #5702: pg fails to use a conditional index even the where clause matches the condition

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #5702: pg fails to use a conditional index even the where clause matches the condition
Дата
Msg-id 2080.1286767544@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #5702: pg fails to use a conditional index even the where clause matches the condition  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: BUG #5702: pg fails to use a conditional index even the where clause matches the condition
Список pgsql-bugs
Jeff Davis <pgsql@j-davis.com> writes:
> On Sat, 2010-10-09 at 23:28 +0000, Corin wrote:
>> I'd consider this a bug as "NOT x IS NULL" is the same as "x IS NOT NULL".

> That is false.

It's true for scalar input datatypes, though.

I had been wary of this idea because I didn't see any suitably cheap
place to insert the necessary processing, but after some reflection
and rejiggering of eval_const_expression's responsibilities, it's
done.

            regards, tom lane

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: BUG #5699: Postgres runs only under default user.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: wrong timezone precision using plpythonu trigger