Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqDHx-0006xy-2l for pgsql-committers@arkaria.postgresql.org; Tue, 21 Mar 2017 06:29:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cqDHw-0003po-F8 for pgsql-committers@arkaria.postgresql.org; Tue, 21 Mar 2017 06:29:00 +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 1cqDHv-0003pO-Hj; Tue, 21 Mar 2017 06:28:59 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cqDHs-0001u4-5C; Tue, 21 Mar 2017 06:28:59 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D234820C2B; Tue, 21 Mar 2017 02:28:53 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Tue, 21 Mar 2017 02:28:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=XbxbrEUggYPk6PPQId PAHEv3Hby7RrRcFNyoZl7WjQQ=; b=dAtfl9TIU4kiDOfieB0bD/sgwSWwp3vR3O SGmpo8M0zBFbZsSZBnTK6zcXIierixraW46ew8YAND4fq545I4R2DC+fOHWVnXtS pLWKyzTHgYb3/5awtjxvekQDmiyqiUyZf+oNp2CqKp3eGQp7GSEbyfNVY7JdnoB6 CKlnxGPVWpcQ2eFqo+JWaKELQjQnJaGi2GMGrpLS3Hgn8PPBLlDiXFYNvuBxZyKv /7NLgW+vHTmMSx043WAoNeEdsHKs3CCMlmuzUS2oNQlAZEe/Gl3Jv+g4F5RMc3G0 8xelr83NdoIaAVIF9rTHUZE8fCJVlmeeZfOIZaK+o/dMGDWVozyA== X-ME-Sender: X-Sasl-enc: QLhyWwFmgNatuZ9LhBlWfjvITg9fnn6X+5gBKAYijvnF 1490077733 Received: from intern.anarazel.de (unknown [88.131.58.33]) by mail.messagingengine.com (Postfix) with ESMTPA id 8C075242B6; Tue, 21 Mar 2017 02:28:53 -0400 (EDT) Date: Mon, 20 Mar 2017 23:28:50 -0700 From: Andres Freund To: Fabien COELHO Cc: Andrew Dunstan , pgsql-committers@postgresql.org, PostgreSQL Developers Subject: Re: [HACKERS] pgsql: Add missing support for new node fields Message-ID: <20170321062850.koa557zw3gqyl4lm@alap3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Hi, On 2017-03-21 07:22:57 +0100, Fabien COELHO wrote: > > Add missing support for new node fields > > > > Commit b6fb534f added two new node fields but neglected to add copy and > > comparison support for them, Mea culpa, should have checked for that. > > I've been annoyed by these stupid functions and forgetting to update them > since I run into them while trying to fix an issue in pg_stat_statement some > time ago. > > I've started to develop a perl script to generate most of them from headers. > It is not done yet, but it looks that it can work in the end with limited > effort. Currently it works for copy & equal. It'd have to do out/read as well imo. > Is there some interest to generate the x00kB of sources rather than edit > them everytime, or forgetting it from time to time, or does everyone like it > as it is?