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
- v1-0001-Use-IsA-macro-instead-of-nodeTag-comparison.patch (application/octet-stream) patch v1-0001
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
-
Use IsA() macro in define.c, for sake of consistency.
- 24cb3a08a43b 19 (unreleased) landed
-
Use IsA macro, for sake of consistency
- 63d1b1cf7f1e 19 (unreleased) landed