Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bgi9X-00059g-MP for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Sep 2016 00:52:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bgi9X-0001Jm-96 for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Sep 2016 00:52:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bgi9W-0001Ic-3c for pgsql-hackers@postgresql.org; Mon, 05 Sep 2016 00:52:46 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bgi9T-00065o-F7; Mon, 05 Sep 2016 00:52:45 +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 u850qakq024717; Sun, 4 Sep 2016 20:52:36 -0400 From: Tom Lane To: Andres Freund cc: Alvaro Herrera , Simon Riggs , Aleksander Alekseev , Michael Paquier , pgsql-hackers , Robert Haas Subject: Re: Yet another small patch - reorderbuffer.c:1099 In-reply-to: <20160406101500.yn75uifbo67ee4je@alap3.anarazel.de> References: <20160405143827.GA258373@alvherre.pgsql> <20160406101500.yn75uifbo67ee4je@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Wed, 06 Apr 2016 12:15:00 +0200" Date: Sun, 04 Sep 2016 20:52:36 -0400 Message-ID: <24716.1473036756@sss.pgh.pa.us> X-Pg-Spam-Score: -3.6 (---) 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 Andres Freund writes: > On 2016-04-05 11:38:27 -0300, Alvaro Herrera wrote: >> The current arrangement looks bizantine to me, for no reason. If we >> think that one of the two branches might do something additional to the >> list deletion, surely that will be in a separate stanza with its own >> comment; and if we ever want to remove the list deletion from one of the >> two cases (something that strikes me as unlikely) then we will need to >> fix the comment, too. > You realize it's two different lists they're deleted in the different > branches? I looked at this and can see some of the argument on both sides, but if it's setting off static-analyzer warnings for some people, that seems like a sufficient reason to change it. We certainly make more significant changes than this in order to silence warnings. I rewrote the comment a bit more and pushed it. 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