Remove outdated comment in copy.c.
authorAndres Freund <andres@anarazel.de>
Mon, 20 May 2019 03:47:54 +0000 (20:47 -0700)
committerAndres Freund <andres@anarazel.de>
Mon, 20 May 2019 03:47:54 +0000 (20:47 -0700)
src/backend/commands/copy.c

index 6ffc3a62f6716470fb751213e6162400d29f455b..5f81aa57d42d00a7d0317ad541a615c4b32c3217 100644 (file)
@@ -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);