postgresql/src/backend
Robert Haas 7c944bd903 Introduce a new GUC force_parallel_mode for testing purposes.
When force_parallel_mode = true, we enable the parallel mode restrictions
for all queries for which this is believed to be safe.  For the subset of
those queries believed to be safe to run entirely within a worker, we spin
up a worker and run the query there instead of running it in the
original process.  When force_parallel_mode = regress, make additional
changes to allow the regression tests to run cleanly even though parallel
workers have been injected under the hood.

Taken together, this facilitates both better user testing and better
regression testing of the parallelism code.

Robert Haas, with help from Amit Kapila and Rushabh Lathia.
2016-02-07 11:41:33 -05:00
..
access Introduce a new GUC force_parallel_mode for testing purposes. 2016-02-07 11:41:33 -05:00
bootstrap Fix typos in comments and doc 2016-01-28 16:47:36 +09:00
catalog Support multi-stage aggregation. 2016-01-20 13:46:50 -05:00
commands Introduce a new GUC force_parallel_mode for testing purposes. 2016-02-07 11:41:33 -05:00
executor Fix comment block trashed by pgindent. 2016-02-06 15:13:36 -05:00
foreign Remove parallel-safety check from GetExistingLocalJoinPath. 2016-02-05 08:07:38 -05:00
lib Add two HyperLogLog functions 2016-01-19 17:40:15 -03:00
libpq Properly close token in sspi authentication 2016-01-14 13:06:03 +01:00
main Update copyright for 2016 2016-01-02 13:33:40 -05:00
nodes Introduce a new GUC force_parallel_mode for testing purposes. 2016-02-07 11:41:33 -05:00
optimizer Introduce a new GUC force_parallel_mode for testing purposes. 2016-02-07 11:41:33 -05:00
parser Remove new coupling between NAMEDATALEN and MAX_LEVENSHTEIN_STRLEN. 2016-01-22 11:53:06 -05:00
po Translation updates 2015-06-28 23:56:55 -04:00
port Windows: Make pg_ctl reliably detect service status 2016-01-07 11:59:08 -03:00
postmaster Change the way that LWLocks for extensions are allocated. 2016-02-04 16:43:04 -05:00
regex Update copyright for 2016 2016-01-02 13:33:40 -05:00
replication Fix typo in comment. 2016-02-05 08:11:00 -05:00
rewrite Update copyright for 2016 2016-01-02 13:33:40 -05:00
snowball Update copyright for 2016 2016-01-02 13:33:40 -05:00
storage Introduce group locking to prevent parallel processes from deadlocking. 2016-02-07 10:16:13 -05:00
tcop Update copyright for 2016 2016-01-02 13:33:40 -05:00
tsearch Update copyright for 2016 2016-01-02 13:33:40 -05:00
utils Introduce a new GUC force_parallel_mode for testing purposes. 2016-02-07 11:41:33 -05:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Add support for systemd service notifications 2016-02-02 21:04:29 -05:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
nls.mk Remove trailing slashes from directories in find command 2015-09-18 22:06:54 -04:00