On Thu, Aug 7, 2025 at 6:04 PM wenhui qiu <qiuwenhu...@gmail.com> wrote: > In light of this commit > (https://github.com/postgres/postgres/commit/e035863c9a04beeecc254c3bfe48dab58e389e10), > I also recommend 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