Make more use of RELATION_IS_OTHER_TEMP().
authorNathan Bossart <nathan@postgresql.org>
Wed, 2 Jul 2025 17:32:19 +0000 (12:32 -0500)
committerNathan Bossart <nathan@postgresql.org>
Wed, 2 Jul 2025 17:32:19 +0000 (12:32 -0500)
commitbb109382ef403a4827caacf2978e82f46593600c
tree6c943965171ea74e295f81b4cbf2d6dee1edb676
parentfe07100e82b096d3c848cace790d4b4daf0c4131
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: http://postgr.es/m/CAEG8a3LjTGJcOcxQx-SUOGoxstG4XuCWLH0ATJKKt_aBTE5K8w%40mail.gmail.com
src/backend/commands/tablecmds.c