From 316e3cb5d9ac5b487c7e5eea334a67a623982067 Mon Sep 17 00:00:00 2001 From: Tanzeel Khan Date: Fri, 27 Dec 2024 12:14:15 +0000 Subject: [PATCH] remove misplaced pfree Signed-off-by: Tanzeel Khan --- src/backend/commands/copyfromparse.c | 2 -- 1 file changed, 2 deletions(-) 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; }