postgrespro.git / summary / log / commit / refs
commit fb504c5e4b5ce71e703006375ee2f5e4b57d89c9
Author: Andres Freund <andres@anarazel.de>
Date: Mon May 20 03:47:54 2019 +0000
Remove outdated comment in copy.c.
src/backend/commands/copy.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/backend/commands/copy.c b/src/backend/commands/copy.c
index 6ffc3a62f6..5f81aa57d4 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);
[parent: 2657283256f1]