aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execParallel.c
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:36 -0300
commit2886a8f7045411c8a1607cf3b01f3856cb475f9e (patch)
tree7dcb860f6c73cd5e1dbc93f681eacf7166f4c941 /src/backend/executor/execParallel.c
parente63441c3f5ca4a3cdb47f9c7fed9e61dde17b60d (diff)
downloadpostgresql-2886a8f7045411c8a1607cf3b01f3856cb475f9e.tar.gz
postgresql-2886a8f7045411c8a1607cf3b01f3856cb475f9e.zip
Remove obsolete comment
The documented shortcoming was actually fixed in 4c728f3829 so the comment is not true anymore.
Diffstat (limited to 'src/backend/executor/execParallel.c')
-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 838ec842991..7d8bd01994f 100644
--- a/src/backend/executor/execParallel.c
+++ b/src/backend/executor/execParallel.c
@@ -1199,14 +1199,7 @@ ExecParallelGetQueryDesc(shm_toc *toc, DestReceiver *receiver,
paramspace = shm_toc_lookup(toc, PARALLEL_KEY_PARAMLISTINFO, 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,