Remove NULL dereference from RenameRelationInternal().
authorNoah Misch <[email protected]>
Sun, 29 Sep 2024 22:54:25 +0000 (15:54 -0700)
committerNoah Misch <[email protected]>
Sun, 29 Sep 2024 22:54:29 +0000 (15:54 -0700)
commitdb1992455569265be12efc65720cfe13ca64122c
tree8b7cf5ed9381dcadc5421c70615435890886068f
parent118dfd12138fe1eb57c0720d1d67bd17500eca31
Remove NULL dereference from RenameRelationInternal().

Defect in last week's commit aac2c9b4fde889d13f859c233c2523345e72d32b,
per Coverity.  Reaching this would need catalog corruption.  Back-patch
to v12, like that commit.
src/backend/commands/tablecmds.c