postgresql/src/backend
Robert Haas 6599c9ac33 Add an Assert() to max_parallel_workers enforcement.
To prevent future bugs along the lines of the one corrected by commit
8ff518699f, or find any that remain
in the current code, add an Assert() that the difference between
parallel_register_count and parallel_terminate_count is in a sane
range.

Kuntal Ghosh, with considerable tidying-up by me, per a suggestion
from Neha Khatri.  Reviewed by Tomas Vondra.

Discussion: http://postgr.es/m/CAFO0U+-E8yzchwVnvn5BeRDPgX2z9vZUxQ8dxx9c0XFGBC7N1Q@mail.gmail.com
2017-04-11 13:03:44 -04:00
..
access Reduce the number of pallocs() in BRIN 2017-04-07 19:08:43 -03:00
bootstrap Cast result of copyObject() to correct type 2017-03-28 21:59:23 -04:00
catalog Fix possibile deadlock when dropping partitions. 2017-04-11 09:08:36 -04:00
commands Fix possibile deadlock when dropping partitions. 2017-04-11 09:08:36 -04:00
executor Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
foreign Abstract logic to allow for multiple kinds of child rels. 2017-04-03 22:41:31 -04:00
lib Support hashed aggregation with grouping sets. 2017-03-27 04:20:54 +01:00
libpq Remove symbol WIN32_ONLY_COMPILER 2017-04-11 15:22:21 +02:00
main Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
nodes Fix failure when a shared tidbitmap has only one page. 2017-04-11 12:06:01 -04:00
optimizer Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
parser Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
po Translation updates 2016-08-08 11:08:00 -04:00
port Remove symbol WIN32_ONLY_COMPILER 2017-04-11 15:22:21 +02:00
postmaster Add an Assert() to max_parallel_workers enforcement. 2017-04-11 13:03:44 -04:00
regex ICU support 2017-03-23 15:28:48 -04:00
replication Fix typo in comment 2017-04-10 13:42:22 -04:00
rewrite Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
snowball Add ICU_FLAGS to one more place 2017-03-23 16:53:10 -04:00
statistics Fix printf format to use %zd when printing sizes 2017-04-07 19:27:00 -03:00
storage Move isolationtester's is-blocked query into C code for speed. 2017-04-10 10:26:54 -04:00
tcop Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
tsearch Full Text Search support for json and jsonb 2017-03-31 14:26:03 -04:00
utils Add an Assert() to max_parallel_workers enforcement. 2017-04-11 13:03:44 -04:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk ICU support 2017-03-23 15:28:48 -04:00
Makefile Implement multivariate n-distinct coefficients 2017-03-24 14:06:10 -03:00
nls.mk Remove trailing slashes from directories in find command 2015-09-18 22:06:54 -04:00