Re: [COMMITTERS] pgsql: Fix confusion of max_parallel_workers mechanism following crash.

2017-04-11 Thread Robert Haas
On Tue, Apr 11, 2017 at 12:52 PM, Robert Haas wrote: > Report by Thomas Vondra. Patch by me, reviewed by Kuntal Ghosh. Ah, nuts. Sorry for misspelling your name, Tomas. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-committers m

[COMMITTERS] pgsql: Fix confusion of max_parallel_workers mechanism following crash.

2017-04-11 Thread Robert Haas
Fix confusion of max_parallel_workers mechanism following crash. Commit b460f5d6693103076dc554aa7cbb96e1e53074f9 failed to contemplate the possibilit that a parallel worker registered before a crash would be unregistered only after the crash; if that happened, we'd end up with parallel_terminate_c