Remove NULL dereference from RenameRelationInternal().

Noah Misch <noah@leadboat.com>

Commit: 0d5a3d7574f8dabcbc229c2a06a9cb2d9a43c7c5
Author: Noah Misch <noah@leadboat.com>
Date: 2024-09-29T22:54:25Z
Releases: 18.0
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