Remove NULL dereference from RenameRelationInternal().

Noah Misch <noah@leadboat.com>

Commit: 159bf0f31b59f7ef7f4bc6c3f57a5187f6a96947
Author: Noah Misch <noah@leadboat.com>
Date: 2024-09-29T22:54:29Z
Releases: 15.9
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.

Files

PathChange+/−
src/backend/commands/tablecmds.c modified +1 −1