diff --git a/src/backend/access/heap/heaptoast.c b/src/backend/access/heap/heaptoast.c index 584f101dd9..a12bd194e9 100644 --- a/src/backend/access/heap/heaptoast.c +++ b/src/backend/access/heap/heaptoast.c @@ -147,6 +147,7 @@ heap_toast_insert_or_update(Relation rel, HeapTuple newtup, HeapTuple oldtup, { ttc.ttc_oldvalues = NULL; ttc.ttc_oldisnull = NULL; + ttc->ttc_flags &= ~TOAST_NEEDS_DELETE_OLD; } else {