Re: BUG #16368: Incorrect function inlining in the presence of a window function

Поиск
Список
Период
Сортировка
От Elvis Pranskevichus
Тема Re: BUG #16368: Incorrect function inlining in the presence of a window function
Дата
Msg-id 2352640.BRP1sDCPNr@hammer.magicstack.net
обсуждение исходный текст
Ответ на Re: BUG #16368: Incorrect function inlining in the presence of a window function  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
> The particular case mentioned there seems to be about the same as
> here: constant-folding happens even in CASE arms that will never be
> reached at runtime.  

Since the actual issue here is false positive exceptions, why can't we 
treat errors raised during const eval as a signal to cancel the constant 
folding, i.e. ignore them and keep the failing expression unoptimized?

                              Elvis





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

Предыдущее
От: Elvis Pranskevichus
Дата:
Сообщение: Re: BUG #16368: Incorrect function inlining in the presence of a window function
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #16369: Segmentation Faults and Data Corruption withGenerated Columns