Thread: pgsql: Remove NULL dereference from RenameRelationInternal().

pgsql: Remove NULL dereference from RenameRelationInternal().

From
Noah Misch
Date:
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.

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/159bf0f31b59f7ef7f4bc6c3f57a5187f6a96947

Modified Files
--------------
src/backend/commands/tablecmds.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)