Remove NULL dereference from RenameRelationInternal().

Noah Misch <noah@leadboat.com>

Commit: 5a33a39a8bb4540e760110202853aded611b1e7c
Author: Noah Misch <noah@leadboat.com>
Date: 2024-09-29T22:54:30Z
Releases: 12.21
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