RE: Parallel Inserts in CREATE TABLE AS
| От | Hou, Zhijie |
|---|---|
| Тема | RE: Parallel Inserts in CREATE TABLE AS |
| Дата | |
| Msg-id | 0fd2e6cd829f4ee9be18d0053c09fc7d@G08CNEXMBPEKD05.g08.fujitsu.local обсуждение исходный текст |
| Ответ на | Re: Parallel Inserts in CREATE TABLE AS (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>) |
| Ответы |
Re: Parallel Inserts in CREATE TABLE AS
|
| Список | pgsql-hackers |
Hi,
I have an issue about the following code:
econtext = node->ps.ps_ExprContext;
ResetExprContext(econtext);
+ if (ISCTAS(node->ps.intoclause))
+ {
+ ExecParallelInsertInCTAS(node);
+ return NULL;
+ }
/* If no projection is required, we're done. */
if (node->ps.ps_ProjInfo == NULL)
return slot;
/*
* Form the result tuple using ExecProject(), and return it.
*/
econtext->ecxt_outertuple = slot;
return ExecProject(node->ps.ps_ProjInfo);
It seems the projection will be skipped.
Is this because projection is not required in this case ?
(I'm not very familiar with where the projection will be.)
If projection is not required here, shall we add some comments here?
Best regards,
houzj
В списке pgsql-hackers по дате отправления: