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

From Noah Misch
Subject pgsql: Remove NULL dereference from RenameRelationInternal().
Date
Msg-id E1sv2q1-001UMv-Gg@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_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4c922821e12e5a7526dac9049a4c8af861375103

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