Re: Parallel query vs smart shutdown and Postmaster death

From: Arseny Sher <a(dot)sher(at)postgrespro(dot)ru>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Parallel query vs smart shutdown and Postmaster death
Date: 2019-03-18 08:25:01
Message-ID: 87k1gwpp2a.fsf@ars-thinkpad
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Thomas Munro <thomas(dot)munro(at)gmail(dot)com> writes:

> Just a thought: instead of the new hand-coded loop you added in
> pmdie(), do you think it would make sense to have a new argument
> "exclude_class_mask" for SignalSomeChildren()? If we did that, I
> would consider renaming the existing parameter "target" to
> "include_type_mask" to make it super clear what's going on.

I thought that this is a bit too complicated for single use-case, but if
you like it better, here is an updated version.

--
Arseny Sher
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

Attachment Content-Type Size
0001-Allow-parallel-workers-while-backends-are-alive-i-v2.patch text/x-diff 5.8 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2019-03-18 09:35:05 Re: Tid scan improvements
Previous Message Amit Langote 2019-03-18 08:18:21 Re: partitioned tables referenced by FKs