Re: Plan for update ... where a is not distinct from b

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Plan for update ... where a is not distinct from b
Дата
Msg-id 13950.1511879733@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Plan for update ... where a is not distinct from b  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
Ответы Re: Plan for update ... where a is not distinct from b  ("Peter J. Holzer" <hjp@hjp.at>)
Список pgsql-general
"Peter J. Holzer" <hjp-pgsql@hjp.at> writes:
> I noticed that an update was taking a long time and found this:
> [ crappy plan for join on IS NOT DISTINCT ]

Yeah, there's no optimization smarts at all for IS [NOT] DISTINCT.
It can't be converted into a merge qual, nor a hash qual, nor an
indexscan qual.

In principle this could be improved, but given how much work it'd be
and how seldom anyone complains, it's not likely to happen anytime soon.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Refreshing materialized views
Следующее
От: Dilip Kumar
Дата:
Сообщение: Re: ERROR: too many dynamic shared memory segments