pgsql: Remove NULL dereference from RenameRelationInternal(). - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Remove NULL dereference from RenameRelationInternal().
Date
Msg-id E1sv2q1-001UN1-IJ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b9ee1339bfbe078ee04468dfce2820248061155b

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


pgsql-committers by date:

Previous
From: Noah Misch
Date:
Subject: pgsql: Remove NULL dereference from RenameRelationInternal().
Next
From: Michael Paquier
Date:
Subject: pgsql: Set query ID in parallel workers for vacuum, BRIN and btree