Use IsA() macro instead of nodeTag comparison

Shinya Kato <shinya11.kato@gmail.com>

From: Shinya Kato <shinya11.kato@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-01-08T12:30:50Z
Lists: pgsql-hackers

Attachments

Hi hackers,

In copy.c, nodeTag was being compared directly, so I replaced it with
the IsA() predicate macro for consistency.

I verified that there are no other direct comparisons left by running
the following command:
$ git grep "nodeTag(.*) =="

-- 
Best regards,
Shinya Kato
NTT OSS Center

Commits

  1. Use IsA() macro in define.c, for sake of consistency.

  2. Use IsA macro, for sake of consistency