projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
| inline |
side by side
(parent:
2657283
)
Remove outdated comment in copy.c.
author
Andres Freund
<
[email protected]
>
Mon, 20 May 2019 03:47:54 +0000
(20:47 -0700)
committer
Andres Freund
<
[email protected]
>
Mon, 20 May 2019 03:47:54 +0000
(20:47 -0700)
src/backend/commands/copy.c
|
blob
|
blame
|
history
diff --git
a/src/backend/commands/copy.c
b/src/backend/commands/copy.c
index 6ffc3a62f6716470fb751213e6162400d29f455b..5f81aa57d42d00a7d0317ad541a615c4b32c3217 100644
(file)
--- 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);