]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Remove obsolete comment
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 25 Sep 2018 20:55:22 +0000 (17:55 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 25 Sep 2018 20:55:57 +0000 (17:55 -0300)
The documented shortcoming was actually fixed in 4c728f3829
so the comment is not true anymore.

src/backend/executor/execParallel.c

index 892372338fc8eb4a044bf87f0b65879ecba53f8f..cabe9fd0bef4838d9c5a63c65855d272b9fc9397 100644 (file)
@@ -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,