Re: [PATCH] Allow CustomScan nodes to signal projection support

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] Allow CustomScan nodes to signal projection support
Дата
Msg-id 1782237.1625609656@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] Allow CustomScan nodes to signal projection support  (Aleksander Alekseev <aleksander@timescale.com>)
Список pgsql-hackers
Aleksander Alekseev <aleksander@timescale.com> writes:
>> I named the flag CUSTOMPATH_SUPPORT_PROJECTION similar to the other
>> custom node flags, but this would revert the current logic

> This seems to be a typical Kobayashi Maru situation, i.e any choice is
> a bad one. I suggest keeping the patch as is and hoping that the
> developers of existing extensions read the release notes.

Yeah, I concur that's the least bad choice.

I got annoyed by the fact that the existing checks of CustomPath flags
had several randomly different styles for basically identical tests,
and this patch wanted to introduce yet another.  I cleaned that up and
pushed this.

            regards, tom lane



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

Предыдущее
От: Mark Dilger
Дата:
Сообщение: Re: visibility map corruption
Следующее
От: Gilles Darold
Дата:
Сообщение: [PATCH][postgres_fdw] Add push down of CASE WHEN clauses