Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dfUv2-0004k2-5V for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Aug 2017 17:37:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dfUv1-0005Ol-OT for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Aug 2017 17:37:19 +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_2) (envelope-from ) id 1dfUtU-0001Tz-Cr for pgsql-hackers@postgresql.org; Wed, 09 Aug 2017 17:35:44 +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_2) (envelope-from ) id 1dfUtR-0002Ju-SG for pgsql-hackers@postgresql.org; Wed, 09 Aug 2017 17:35:43 +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 v79HZXmp009677; Wed, 9 Aug 2017 13:35:33 -0400 From: Tom Lane To: Alvaro Herrera cc: David Fetter , Robert Haas , Thomas Munro , Michael Paquier , PostgreSQL mailing lists Subject: Re: Re: [COMMITTERS] pgsql: Fix inadequacies in recently added wait events In-reply-to: <20170809172133.ewvuf6ah76bhrnzz@alvherre.pgsql> References: <20170809172133.ewvuf6ah76bhrnzz@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Wed, 09 Aug 2017 13:21:33 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9675.1502300133.1@sss.pgh.pa.us> Date: Wed, 09 Aug 2017 13:35:33 -0400 Message-ID: <9676.1502300133@sss.pgh.pa.us> 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 Alvaro Herrera writes: > This thread is surprising. If we generate the few lines of code being > in trouble, we don't need any checker script, so I don't see why we'd go > the route of the checker script instead. I think generating whatever we can from a single authoritative file is indeed a good idea. But I had the impression that people also wanted to enforce a rule about "only one use of each wait event name", which'd require a checker script, no? (I'm not really convinced that we need such a rule, fwiw.) 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