diff --git a/src/backend/commands/copyfromparse.c b/src/backend/commands/copyfromparse.c index 5c831229764..8710155fc17 100644 --- a/src/backend/commands/copyfromparse.c +++ b/src/backend/commands/copyfromparse.c @@ -1090,8 +1090,6 @@ NextCopyFrom(CopyFromState cstate, ExprContext *econtext, if (fill_missing_values_in_copyfrom_hook) fill_missing_values_in_copyfrom_hook(cstate->rel, values, nulls); - pfree(cstate->defaults); - return true; }