pgsql: Fix parallel index builds for dynamic_shared_memory_type=none.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix parallel index builds for dynamic_shared_memory_type=none.
Date: 2018-02-12 19:30:00
Message-ID: E1elJnc-0001o0-FW@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/88ef48c1ccee6a2200e01318180cf521413b3012

Modified Files
--------------
src/backend/optimizer/plan/planner.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2018-02-12 22:35:56 pgsql: get_relid_attribute_name is dead, long live get_attname
Previous Message Alvaro Herrera 2018-02-12 14:49:33 pgsql: Add missing article