Add a 'parallel_degree' reloption.
authorRobert Haas <[email protected]>
Fri, 8 Apr 2016 15:14:56 +0000 (11:14 -0400)
committerRobert Haas <[email protected]>
Fri, 8 Apr 2016 15:14:56 +0000 (11:14 -0400)
commit25fe8b5f1ac93c3ec01519854e4f554b2e57a926
tree38e7e8d5bbe0d6f6ab67f19eb38d0e2e5fdcd9e5
parentb0b64f65054e6b858b845b46298a624aaaea1deb
Add a 'parallel_degree' reloption.

The code that estimates what parallel degree should be uesd for the
scan of a relation is currently rather stupid, so add a parallel_degree
reloption that can be used to override the planner's rather limited
judgement.

Julien Rouhaud, reviewed by David Rowley, James Sewell, Amit Kapila,
and me.  Some further hacking by me.
doc/src/sgml/ref/create_table.sgml
src/backend/access/common/reloptions.c
src/backend/optimizer/path/allpaths.c
src/backend/optimizer/util/plancat.c
src/backend/optimizer/util/relnode.c
src/bin/psql/tab-complete.c
src/include/nodes/relation.h
src/include/utils/rel.h