postgresql/src/backend/utils
Robert Haas c7ea68ff8d Limit maximum parallel degree to 1024.
This new limit affects both the max_parallel_degree GUC and the
parallel_degree reloption.  There may some day be a use case for using
more than 1024 CPUs for a single query, but that's surely not the case
right now.  Not only do not very many people have that many CPUs, but
the code hasn't been tested at that kind of scale and is very unlikely
to perform well, or even work at all, without a lot more work.  The
issue addressed by commit 06bd458cb8 is
probably just one problem of many.

The idea of a more reasonable limit here was suggested by Tom Lane;
the value of 1024 was suggested by Amit Kapila.
2016-05-06 14:50:54 -04:00
..
adt Fix possible read past end of string in to_timestamp(). 2016-05-06 12:09:20 -04:00
cache Fix hash index vs "snapshot too old" problemms 2016-05-06 07:47:12 -05:00
error Introduce a LOG_SERVER_ONLY ereport level, which is never sent to client. 2016-04-04 12:32:42 -04:00
fmgr Properly install dynloader.h on MSVC builds 2016-01-19 23:30:29 -05:00
hash Copyedit comments and documentation. 2016-04-01 21:53:10 -04:00
init Use quicksort, not replacement selection, for external sorting. 2016-04-08 02:36:26 -04:00
mb Fix more things to be parallel-safe. 2016-05-03 14:36:38 -04:00
misc Limit maximum parallel degree to 1024. 2016-05-06 14:50:54 -04:00
mmgr Report memory context stats upon out-of-memory in repalloc[_huge]. 2016-03-13 00:21:07 -05:00
resowner Improve ResourceOwners' behavior for large numbers of owned objects. 2016-01-26 15:20:30 -05:00
sort Revert CREATE INDEX ... INCLUDING ... 2016-04-08 21:52:13 +03:00
time Fix hash index vs "snapshot too old" problemms 2016-05-06 07:47:12 -05:00
.gitignore
errcodes.txt Add the "snapshot too old" feature 2016-04-08 14:36:30 -05:00
Gen_dummy_probes.pl Remove dependency on psed for MSVC builds. 2016-03-19 18:36:35 -04:00
Gen_dummy_probes.sed Update copyright for 2016 2016-01-02 13:33:40 -05:00
Gen_fmgrtab.pl Update copyright for 2016 2016-01-02 13:33:40 -05:00
generate-errcodes.pl Update copyright for 2016 2016-01-02 13:33:40 -05:00
Makefile
probes.d Update copyright for 2016 2016-01-02 13:33:40 -05:00