On Sat, Apr 15, 2017 at 12:01 AM, Tom Lane <t...@sss.pgh.pa.us> wrote: > Maybe we need to rethink the division of labor between parallel.c > and execParallel.c, but that would depend on somebody explaining > what the difference is in the first place.
parallel.c handles general concerns related to any sort of parallelism, particularly those related to transaction management, hence it's in src/backend/access/transam. execParallel.c handles concerns that are specific to the executor, hence it's in src/backend/executor. The header comment for execParallel.c is fairly informative on this point; now that I look at it, parallel.c has only a stub comment, which really ought to be expanded. Note that while parallel *query* uses both, a parallel utility command will likely use only the facilities in parallel.c, so the distinction is not academic. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers