mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-28 14:11:48 +02:00
da1c91631e
We need to scan the whole parse tree for parallel-unsafe functions. If there are none, we'll later need to determine whether particular subtrees contain any parallel-restricted functions. The previous coding retained no knowledge from the first scan, even though this is very wasteful in the common case where the query contains only parallel-safe functions. We can bypass all of the later scans by remembering that fact. This provides a small but measurable speed improvement when the case applies, and shouldn't cost anything when it doesn't. Patch by me, reviewed by Robert Haas Discussion: <3740.1471538387@sss.pgh.pa.us> |
||
---|---|---|
.. | ||
clauses.h | ||
cost.h | ||
geqo_copy.h | ||
geqo_gene.h | ||
geqo_misc.h | ||
geqo_mutation.h | ||
geqo_pool.h | ||
geqo_random.h | ||
geqo_recombination.h | ||
geqo_selection.h | ||
geqo.h | ||
joininfo.h | ||
orclauses.h | ||
pathnode.h | ||
paths.h | ||
placeholder.h | ||
plancat.h | ||
planmain.h | ||
planner.h | ||
predtest.h | ||
prep.h | ||
restrictinfo.h | ||
subselect.h | ||
tlist.h | ||
var.h |