Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5913b9b

Browse files
committed
Remove obsolete comment
The documented shortcoming was actually fixed in 4c728f3 so the comment is not true anymore.
1 parent 62e533d commit 5913b9b

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/backend/executor/execParallel.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,14 +1199,7 @@ ExecParallelGetQueryDesc(shm_toc *toc, DestReceiver *receiver,
11991199
paramspace = shm_toc_lookup(toc, PARALLEL_KEY_PARAMLISTINFO, false);
12001200
paramLI = RestoreParamList(&paramspace);
12011201

1202-
/*
1203-
* Create a QueryDesc for the query.
1204-
*
1205-
* It's not obvious how to obtain the query string from here; and even if
1206-
* we could copying it would take more cycles than not copying it. But
1207-
* it's a bit unsatisfying to just use a dummy string here, so consider
1208-
* revising this someday.
1209-
*/
1202+
/* Create a QueryDesc for the query. */
12101203
return CreateQueryDesc(pstmt,
12111204
queryString,
12121205
GetActiveSnapshot(), InvalidSnapshot,

0 commit comments

Comments
 (0)