aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2018-09-25 17:55:22 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2018-09-25 17:55:57 -0300
commit21c8f9c28981f0dc81fbf0d26b85ec119511f35c (patch)
tree3177fcc4258b83a157bee0a2f41ed99d3f9aa4c3
parent736c3a48c400920bb71e044f9e9a7fcc3dd41e21 (diff)
downloadpostgresql-21c8f9c28981f0dc81fbf0d26b85ec119511f35c.tar.gz
postgresql-21c8f9c28981f0dc81fbf0d26b85ec119511f35c.zip
Remove obsolete comment
The documented shortcoming was actually fixed in 4c728f3829 so the comment is not true anymore.
-rw-r--r--src/backend/executor/execParallel.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/backend/executor/execParallel.c b/src/backend/executor/execParallel.c
index 892372338fc..cabe9fd0bef 100644
--- a/src/backend/executor/execParallel.c
+++ b/src/backend/executor/execParallel.c
@@ -840,14 +840,7 @@ ExecParallelGetQueryDesc(shm_toc *toc, DestReceiver *receiver,
paramspace = shm_toc_lookup(toc, PARALLEL_KEY_PARAMS, false);
paramLI = RestoreParamList(&paramspace);
- /*
- * Create a QueryDesc for the query.
- *
- * It's not obvious how to obtain the query string from here; and even if
- * we could copying it would take more cycles than not copying it. But
- * it's a bit unsatisfying to just use a dummy string here, so consider
- * revising this someday.
- */
+ /* Create a QueryDesc for the query. */
return CreateQueryDesc(pstmt,
queryString,
GetActiveSnapshot(), InvalidSnapshot,