Re: Pathify RHS unique-ification for semijoin planning - Mailing list pgsql-hackers

From Richard Guo
Subject Re: Pathify RHS unique-ification for semijoin planning
Date
Msg-id CAMbWs48p9-_L-ouwbstcBOcSOYQ64CUGxawo_ZzotX55ADG9Zg@mail.gmail.com
Whole thread Raw
In response to Re: Pathify RHS unique-ification for semijoin planning  (wenhui qiu <qiuwenhuifx@gmail.com>)
Responses Re: Pathify RHS unique-ification for semijoin planning
List pgsql-hackers
On Thu, Aug 7, 2025 at 6:04 PM wenhui qiu <qiuwenhuifx@gmail.com> wrote:
> In light of this commit (https://github.com/postgres/postgres/commit/e035863c9a04beeecc254c3bfe48dab58e389e10), I
alsorecommend changing the macro to a static inline function. Macros are harder to debug and lack type safety. 

I'm inclined not to do that.  We already have other macros for
checking whether a relation is of a certain kind, and I'd prefer to
keep the new check consistent with those.

Thanks
Richard



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Backpatching injection point core facilities to REL_17_STABLE
Next
From: wenhui qiu
Date:
Subject: Re: Pathify RHS unique-ification for semijoin planning