Remove NULL dereference from RenameRelationInternal().

Noah Misch <noah@leadboat.com>

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