crashes due to setting max_parallel_workers=0 - Mailing list pgsql-hackers

From Tomas Vondra
Subject crashes due to setting max_parallel_workers=0
Date
Msg-id 6ecd6f17-0dcf-1de7-ded8-0de7db1ddc88@2ndquadrant.com
Whole thread Raw
Responses Re: crashes due to setting max_parallel_workers=0  (Amit Kapila <amit.kapila16@gmail.com>)
Re: crashes due to setting max_parallel_workers=0  (David Rowley <david.rowley@2ndquadrant.com>)
List pgsql-hackers
Hi,

while working on a patch I ran into some crashes that seem to be caused 
by inconsistent handling of max_parallel_workers - queries still seem to 
be planned with parallel plans enabled, but then crash at execution.

The attached script reproduces the issue on a simple query, causing 
crashed in GatherMerge, but I assume the issue is more general.

regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: pg_get_statisticsextdef() is not quite the full shilling
Next
From: Thomas Munro
Date:
Subject: Re: dsm.c API tweak