pgsql: Make more use of RELATION_IS_OTHER_TEMP().

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make more use of RELATION_IS_OTHER_TEMP().
Date: 2025-07-02 17:33:04
Message-ID: E1uX1KS-004OCX-1h@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make more use of RELATION_IS_OTHER_TEMP().

A few places were open-coding it instead of using this handy macro.

Author: Junwang Zhao <zhjwpku(at)gmail(dot)com>
Reviewed-by: Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAEG8a3LjTGJcOcxQx-SUOGoxstG4XuCWLH0ATJKKt_aBTE5K8w%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bb109382ef403a4827caacf2978e82f46593600c

Modified Files
--------------
src/backend/commands/tablecmds.c | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Nathan Bossart 2025-07-02 18:27:47 pgsql: Fix cross-version upgrade test breakage from commit fe07100e82.
Previous Message Nathan Bossart 2025-07-02 16:51:36 pgsql: Add GetNamedDSA() and GetNamedDSHash().