aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/copy.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2019-05-19 20:47:54 -0700
committerAndres Freund <andres@anarazel.de>2019-05-19 20:47:54 -0700
commitfb504c5e4b5ce71e703006375ee2f5e4b57d89c9 (patch)
tree8ca213c5a5e09df8f46ddd932da9188ee50aad1f /src/backend/commands/copy.c
parent2657283256f1cab53d09d2c7db1ce9b7065193a0 (diff)
downloadpostgresql-fb504c5e4b5ce71e703006375ee2f5e4b57d89c9.tar.gz
postgresql-fb504c5e4b5ce71e703006375ee2f5e4b57d89c9.zip
Remove outdated comment in copy.c.
Diffstat (limited to 'src/backend/commands/copy.c')
-rw-r--r--src/backend/commands/copy.c7
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);