Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oAu6S-00042j-Oy for pgsql-hackers@arkaria.postgresql.org; Mon, 11 Jul 2022 14:09:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oAu6R-0003pB-J4 for pgsql-hackers@arkaria.postgresql.org; Mon, 11 Jul 2022 14:09:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oAu6Q-0003p2-JQ for pgsql-hackers@lists.postgresql.org; Mon, 11 Jul 2022 14:09:35 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oAu6M-0006Vn-N9 for pgsql-hackers@postgresql.org; Mon, 11 Jul 2022 14:09:34 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id DFDCD3200A61; Mon, 11 Jul 2022 10:09:26 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 11 Jul 2022 10:09:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1657548566; x= 1657634966; bh=DOku4WFnx/Q+dZ8QglJJHs2yFeWaGiF2UU4yEvbb9G4=; b=H dXgfk4tPScoZZbYFTv2zfrWMOijrEflPd6Pvt5fqwfIUp9kO8U7Vz/WSA1b8sTcW 4Z7ImA5EBeDiC/lK1HVldZdQLjS0ckuKYoKUEOONqmUFSCkZPyBw1Qwj9Xlhfqjz luE0dL3EJ2NQawRfPCKIYu1sX5djlJn2am0UAUK2F1tDbpN/OSFUT1uBaVOc/7pS Vbfa4lolrjRVRlMVZUKhiP47tzV/+4wwohxXQuQjSj8EPdZ2A/yOgBAjEqSLQJGy jhuCwm2oqrhEPU/P5Gs8LSw5GEYrOKbKkKhXemYO6lSJcrMa2xBeyu1eYyZAIZTj 2NOPvSitqI3+6/vXQFnpw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudejfedgjedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvghnth gvrhhprhhishgvuggsrdgtohhmqeenucggtffrrghtthgvrhhnpeehleffgeegudejteei hfelteduvdeifffhffdvjedvffegjeekudeludehudeifeenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvihhsvghnthhrrghu thesvghnthgvrhhprhhishgvuggsrdgtohhm X-ME-Proxy: Feedback-ID: i131946ab:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 11 Jul 2022 10:09:25 -0400 (EDT) Message-ID: <45f508cb-e30b-c252-e081-4548deafa34c@enterprisedb.com> Date: Mon, 11 Jul 2022 16:09:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: automatically generating node support functions Content-Language: en-US To: Tom Lane , Andres Freund Cc: David Rowley , pgsql-hackers References: <1294462.1656875649@sss.pgh.pa.us> <57df9f30-d2cf-9126-28d4-ae40a2e733a9@enterprisedb.com> <1593978.1656953960@sss.pgh.pa.us> <2592455.1657140387@sss.pgh.pa.us> <3302658.1657288366@sss.pgh.pa.us> <611d2e! 93-6330-47fa-0970-72316aed50f2@enterprisedb.com> <3488143.1657310625@sss.pgh.pa.us> <11148777-fbe2-5188-195d-48f5083573c5@enterprisedb.com> <20220710214622.haiektrjzisob6rl@awork3.anarazel.de> <815831.1657494597@sss.pgh.pa.us> From: Peter Eisentraut In-Reply-To: <815831.1657494597@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 11.07.22 01:09, Tom Lane wrote: > Andres Freund writes: >> I was just rebasing meson ontop of this and was wondering whether the input >> filenames were in a particular order: First, things used by later files need to be found in earlier files. So that constrains the order a bit. Second, the order of the files determines the ordering of the output. The current order of the files reflects approximately the order how the manual code was arranged. That could be changed. We could also just sort the node types in the script and dump out everything alphabetically. > That annoyed me too. I think it's sensible to list the "main" input > files first, but I'd put them in our traditional pipeline order: > >> nodes/nodes.h \ >> nodes/primnodes.h \ >> nodes/parsenodes.h \ >> nodes/pathnodes.h \ >> nodes/plannodes.h \ >> nodes/execnodes.h \ The seems worth trying out. > The rest could probably be alphabetical. I was also wondering if > all of them really need to be read at all --- I'm unclear on what > access/sdir.h is contributing, for example. could not handle type "ScanDirection" in struct "IndexScan" field "indexorderdir"