Re: JIT: The nullness of casetest.value can be determined at the JIT compile time.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: JIT: The nullness of casetest.value can be determined at the JIT compile time.
Дата
Msg-id 3070951.1738207772@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: JIT: The nullness of casetest.value can be determined at the JIT compile time.  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
Heikki Linnakangas <hlinnaka@iki.fi> writes:
> Huge +1 for cleaning up this abuse of caseValue_datum/domainValue_datum. 
> While correct and sensible if we continue the abuse, these patches feel 
> like putting lipstick on a pig.

Agreed.  I spent some time trying to do it better, with results
shown at [1].  If we adopt that idea, then the executor's support
for CaseTestExpr will go away, so there's little point in pursuing
that half of the patch given here.  However, I concluded that there's
insufficient reason to redesign CoerceToDomainValue, so we could
still push forward with that half of this patch.

            regards, tom lane

[1] https://www.postgresql.org/message-id/3068812.1738206654@sss.pgh.pa.us



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