mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +03:00
Blind fix for uninitialized memory bug in ba9a7e3921
Valgrind animal skink shows a crash in this new code. I couldn't reproduce the problem locally, but going by blind code inspection, initializing insert_destrel should be sufficient to fix the problem.
This commit is contained in:
@ -1820,7 +1820,7 @@ lreplace:;
|
||||
if (partition_constraint_failed)
|
||||
{
|
||||
TupleTableSlot *inserted_tuple;
|
||||
ResultRelInfo *insert_destrel;
|
||||
ResultRelInfo *insert_destrel = NULL;
|
||||
|
||||
/*
|
||||
* ExecCrossPartitionUpdate will first DELETE the row from the
|
||||
|
Reference in New Issue
Block a user