pgsql: Remove NULL dereference from RenameRelationInternal().

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove NULL dereference from RenameRelationInternal().
Date: 2024-09-29 22:56:26
Message-ID: E1sv2q1-001UN1-IJ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2024-09-29 23:43:44 pgsql: Set query ID in parallel workers for vacuum, BRIN and btree
Previous Message Noah Misch 2024-09-29 22:56:25 pgsql: Remove NULL dereference from RenameRelationInternal().