pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use IsA() macro in define.c, for sake of consistency.
Date: Fri, 09 Jan 2026 11:24:58 +0000
Message-ID: <E1veAbx-005Tvx-1V@gemulon.postgresql.org> (raw)

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

Commit 63d1b1cf7f1 replaced a direct nodeTag() comparison with the IsA()
macro in copy.c, but a similar direct comparison remained in define.c.

This commit replaces that comparison with IsA() for consistency.

Author: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Reviewed-by: Shinya Kato <shinya11.kato@gmail.com>
Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Discussion: https://postgr.es/m/CAHGQGwGjWGS89_sTx=sbPm0FQemyQQrfTKm=taUhAJFV5k-9cw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/24cb3a08a43b5a48f5fba4a83d297218e2e748c5

Modified Files
--------------
src/backend/commands/define.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



Message-ID: <E1veAbx-005Tvx-1V@gemulon.postgresql.org>
Permalink:  ../E1veAbx-005Tvx-1V@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1veAbx-005Tvx-1V@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: fujii@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Use IsA() macro in define.c, for sake of consistency.
  In-Reply-To: <E1veAbx-005Tvx-1V@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox