Re: Some optimizations for COALESCE expressions during constant folding

Поиск
Список
Период
Сортировка
От Richard Guo
Тема Re: Some optimizations for COALESCE expressions during constant folding
Дата
Msg-id CAMbWs49VoRxj3Gm=Wqt1EdEDz6OGgOuVqvAxhKGcUUv2PwE-vA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Some optimizations for COALESCE expressions during constant folding  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: Some optimizations for COALESCE expressions during constant folding
Список pgsql-hackers
Attached is the patch set rebased on current master.  I have split the
patch into two parts: 0001 teaches eval_const_expressions to simplify
COALESCE arguments using NOT NULL constraints, and 0002 teaches
expr_is_nonnullable to handle COALESCE expressions.

In addition, 0003 is a WIP patch that extends expr_is_nonnullable to
handle more expression types.  I suspect there are additional cases
beyond those covered in this patch that can be proven non-nullable.

- Richard

Вложения

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