Make more use of RELATION_IS_OTHER_TEMP().

Nathan Bossart <nathan@postgresql.org>

Commit: bb109382ef403a4827caacf2978e82f46593600c
Author: Nathan Bossart <nathan@postgresql.org>
Date: 2025-07-02T17:32:19Z
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@gmail.com>
Reviewed-by: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Discussion: https://postgr.es/m/CAEG8a3LjTGJcOcxQx-SUOGoxstG4XuCWLH0ATJKKt_aBTE5K8w%40mail.gmail.com

Files

PathChange+/−
src/backend/commands/tablecmds.c modified +5 −10

Discussion