diff options
author | Robert Haas <rhaas@postgresql.org> | 2017-11-29 09:24:24 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2017-11-29 09:24:24 -0500 |
commit | eaedf0df7197b21182f6c341a44e4fdaa3cd6ea6 (patch) | |
tree | 710ce791d6a3a329649f0fe438c85f00199035a8 /src/backend/optimizer/util/pathnode.c | |
parent | 801386af62eac84c13feec5a643c120cf0ce33bd (diff) | |
download | postgresql-eaedf0df7197b21182f6c341a44e4fdaa3cd6ea6.tar.gz postgresql-eaedf0df7197b21182f6c341a44e4fdaa3cd6ea6.zip |
Update typedefs.list and re-run pgindent
Discussion: http://postgr.es/m/CA+TgmoaA9=1RWKtBWpDaj+sF3Stgc8sHgf5z=KGtbjwPLQVDMA@mail.gmail.com
Diffstat (limited to 'src/backend/optimizer/util/pathnode.c')
-rw-r--r-- | src/backend/optimizer/util/pathnode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/optimizer/util/pathnode.c b/src/backend/optimizer/util/pathnode.c index 68dee0f5010..02bbbc0647c 100644 --- a/src/backend/optimizer/util/pathnode.c +++ b/src/backend/optimizer/util/pathnode.c @@ -2412,7 +2412,7 @@ apply_projection_to_path(PlannerInfo *root, * workers can help project. But if there is something that is not * parallel-safe in the target expressions, then we can't. */ - if ((IsA(path, GatherPath) || IsA(path, GatherMergePath)) && + if ((IsA(path, GatherPath) ||IsA(path, GatherMergePath)) && is_parallel_safe(root, (Node *) target->exprs)) { /* @@ -2421,9 +2421,9 @@ apply_projection_to_path(PlannerInfo *root, * It seems unlikely at present that there could be any other * references to the subpath, but better safe than sorry. * - * Note that we don't change the parallel path's cost estimates; it might - * be appropriate to do so, to reflect the fact that the bulk of the - * target evaluation will happen in workers. + * Note that we don't change the parallel path's cost estimates; it + * might be appropriate to do so, to reflect the fact that the bulk of + * the target evaluation will happen in workers. */ if (IsA(path, GatherPath)) { |