Re: ERROR: too many dynamic shared memory segments - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ERROR: too many dynamic shared memory segments
Date
Msg-id 5929.1517605016@sss.pgh.pa.us
Whole thread Raw
In response to Re: ERROR: too many dynamic shared memory segments  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Fri, Feb 2, 2018 at 3:01 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Do you mind if I change that Assert to a run-time test?

> Hrm, I guess I could have done something like
> shm_toc_lookup(pcxt->toc, PARALLEL_KEY_ERROR_QUEUE, (pcxt->nworkers ==
> 0)).

OK, that'd work too.  I'll make it so.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Dmitry Dolgov
Date:
Subject: Re: [HACKERS] Bug in to_timestamp().
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] path toward faster partition pruning