Commit fb504c5e authored by Andres Freund's avatar Andres Freund

Remove outdated comment in copy.c.

parent 26572832
...@@ -3216,12 +3216,7 @@ CopyFrom(CopyState cstate) ...@@ -3216,12 +3216,7 @@ CopyFrom(CopyState cstate)
} }
else else
{ {
/* /* Compute stored generated columns */
* Compute stored generated columns
*
* Switch memory context so that the new tuple is in the same
* context as the old one.
*/
if (resultRelInfo->ri_RelationDesc->rd_att->constr && if (resultRelInfo->ri_RelationDesc->rd_att->constr &&
resultRelInfo->ri_RelationDesc->rd_att->constr->has_generated_stored) resultRelInfo->ri_RelationDesc->rd_att->constr->has_generated_stored)
ExecComputeStoredGenerated(estate, myslot); ExecComputeStoredGenerated(estate, myslot);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment