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:
parent
a096813b6f
commit
2d655a08d5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue