Make more use of RELATION_IS_OTHER_TEMP().
authorNathan Bossart <[email protected]>
Wed, 2 Jul 2025 17:32:19 +0000 (12:32 -0500)
committerNathan Bossart <[email protected]>
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 <[email protected]>
Reviewed-by: Ashutosh Bapat <[email protected]>
Discussion: https://postgr.es/m/CAEG8a3LjTGJcOcxQx-SUOGoxstG4XuCWLH0ATJKKt_aBTE5K8w%40mail.gmail.com
src/backend/commands/tablecmds.c