Re: [PATCH] Allow CustomScan nodes to signal projection support - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] Allow CustomScan nodes to signal projection support
Date
Msg-id 1782237.1625609656@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH] Allow CustomScan nodes to signal projection support  (Aleksander Alekseev <aleksander@timescale.com>)
List 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 by date:

Previous
From: Mark Dilger
Date:
Subject: Re: visibility map corruption
Next
From: Gilles Darold
Date:
Subject: [PATCH][postgres_fdw] Add push down of CASE WHEN clauses