Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aW33D-00060D-QO for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Feb 2016 14:25:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aW33C-0003Ih-R0 for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Feb 2016 14:25:54 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aW33B-0003Hr-GY for pgsql-hackers@postgresql.org; Wed, 17 Feb 2016 14:25:53 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aW338-0005nb-J0 for pgsql-hackers@postgresql.org; Wed, 17 Feb 2016 14:25:52 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u1HEPmQb014624; Wed, 17 Feb 2016 09:25:48 -0500 From: Tom Lane To: Robert Haas cc: "pgsql-hackers@postgresql.org" Subject: Re: Re: [COMMITTERS] pgsql: Introduce group locking to prevent parallel processes from deadl In-reply-to: References: <27041.1455388321@sss.pgh.pa.us> <22842.1455474783@sss.pgh.pa.us> <30320.1455488783@sss.pgh.pa.us> <13398.1455656090@sss.pgh.pa.us> <20298.1455683627@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Wed, 17 Feb 2016 13:56:29 +0530" Date: Wed, 17 Feb 2016 09:25:48 -0500 Message-ID: <14623.1455719148@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Robert Haas writes: > I guess it's worth pointing out that storing the groupLeader in the > PROCLOCK, as we do currently, avoids this issue entirely. Right, that's why I framed it as "can we salvage this simplification" (referring to removal of that field). It may be best to just fix the existing bug and docs deficiencies before returning to that idea. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers