Use IsA() macro instead of nodeTag comparison

From: Shinya Kato <shinya11(dot)kato(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Use IsA() macro instead of nodeTag comparison
Date: 2026-01-08 12:30:50
Message-ID: CAOzEurS=PzRzGba3mpNXgEhbnQFA0dxXaU0ujCJ0aa9yMSH6Pw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
v1-0001-Use-IsA-macro-instead-of-nodeTag-comparison.patch application/octet-stream 1.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gilles Darold 2026-01-08 12:31:15 Re: Pasword expiration warning
Previous Message Jelte Fennema-Nio 2026-01-08 12:23:53 ci: Add MTEST_SUITES for optional test tailoring