postgresql/src/backend
Robert Haas 88ef48c1cc Fix parallel index builds for dynamic_shared_memory_type=none.
The previous code failed to realize that this setting effectively
disables parallelism, and would crash if it decided to attempt
parallelism anyway.  Instead, treat it as a disabling condition.

Kyotaro Horiguchi, who also reported the issue. Reviewed by Michael
Paquier and Peter Geoghegan.

Discussion: http://postgr.es/m/20180209.170635.256350357.horiguchi.kyotaro@lab.ntt.co.jp
2018-02-12 12:55:12 -05:00
..
access Update out-of-date comment in StartupXLOG. 2018-02-07 08:48:04 -05:00
bootstrap Support parallel btree index builds. 2018-02-02 13:32:44 -05:00
catalog Add more information_schema columns 2018-02-07 10:08:02 -05:00
commands Avoid premature free of pass-by-reference CALL arguments. 2018-02-10 13:37:12 -05:00
executor Avoid listing the same ResultRelInfo in more than one EState list. 2018-02-08 14:29:05 -05:00
foreign Update copyright for 2018 2018-01-02 23:30:12 -05:00
lib Update copyright for 2018 2018-01-02 23:30:12 -05:00
libpq Fix up references to scram-sha-256 2018-01-30 16:50:30 -05:00
main Update copyright for 2018 2018-01-02 23:30:12 -05:00
nodes Support all SQL:2011 options for window frame clauses. 2018-02-07 00:06:56 -05:00
optimizer Fix parallel index builds for dynamic_shared_memory_type=none. 2018-02-12 12:55:12 -05:00
parser Fix oversight in CALL argument handling, and do some minor cleanup. 2018-02-10 13:05:14 -05:00
po Translation updates 2017-08-07 13:55:34 -04:00
port Support huge pages on Windows 2018-01-21 15:40:46 +01:00
postmaster Support parallel btree index builds. 2018-02-02 13:32:44 -05:00
regex Update copyright for 2018 2018-01-02 23:30:12 -05:00
replication Fix incorrect method name in comment. 2018-02-08 14:35:54 -05:00
rewrite Fix application of identity values in some cases 2018-02-02 14:39:10 -05:00
snowball Avoid unnecessary use of pg_strcasecmp for already-downcased identifiers. 2018-01-26 18:25:14 -05:00
statistics Update copyright for 2018 2018-01-02 23:30:12 -05:00
storage Support parallel btree index builds. 2018-02-02 13:32:44 -05:00
tcop Clear stmt_timeout_active if we disable_all_timeouts. 2018-02-09 15:48:18 -05:00
tsearch Avoid unnecessary use of pg_strcasecmp for already-downcased identifiers. 2018-01-26 18:25:14 -05:00
utils Support all SQL:2011 options for window frame clauses. 2018-02-07 00:06:56 -05:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Update copyright for 2018 2018-01-02 23:30:12 -05:00
common.mk Add ICU_CFLAGS to global CPPFLAGS 2017-06-12 15:57:22 -04:00
nls.mk Translation updates 2017-05-15 12:19:54 -04:00