diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/commands/copy.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/backend/commands/copy.c b/src/backend/commands/copy.c index 6ffc3a62f67..5f81aa57d42 100644 --- a/src/backend/commands/copy.c +++ b/src/backend/commands/copy.c @@ -3216,12 +3216,7 @@ CopyFrom(CopyState cstate) } else { - /* - * Compute stored generated columns - * - * Switch memory context so that the new tuple is in the same - * context as the old one. - */ + /* Compute stored generated columns */ if (resultRelInfo->ri_RelationDesc->rd_att->constr && resultRelInfo->ri_RelationDesc->rd_att->constr->has_generated_stored) ExecComputeStoredGenerated(estate, myslot); |