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 1oB08Y-0002ga-AI for pgsql-hackers@arkaria.postgresql.org; Mon, 11 Jul 2022 20:36:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oB08W-0004bF-7n for pgsql-hackers@arkaria.postgresql.org; Mon, 11 Jul 2022 20:36:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oB08V-0004b5-V5 for pgsql-hackers@lists.postgresql.org; Mon, 11 Jul 2022 20:36:07 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oB08T-0002Ex-Qg for pgsql-hackers@postgresql.org; Mon, 11 Jul 2022 20:36:06 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 26BKa2vb1239147; Mon, 11 Jul 2022 16:36:02 -0400 From: Tom Lane To: Andres Freund cc: Robert Haas , Peter Eisentraut , David Rowley , pgsql-hackers Subject: Re: automatically generating node support functions In-reply-to: <20220711202646.ognbado7uwed3ojj@awork3.anarazel.de> References: <3488143.1657310625@sss.pgh.pa.us> <11148777-fbe2-5188-195d-48f5083573c5@enterprisedb.com> <20220710214622.haiektrjzisob6rl@awork3.anarazel.de> <815831.1657494597@sss.pgh.pa.us> <45f508cb-e30b-c252-e081-4548deafa34c@enterprisedb.com> <1116889.1657553859@sss.pgh.pa.us> <1201553.1657562258@sss.pgh.pa.us> <1229446.1657569262@sss.pgh.pa.us> <20220711202646.ognbado7uwed3ojj@awork3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Mon, 11 Jul 2022 13:26:46 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1239145.1657571762.1@sss.pgh.pa.us> Date: Mon, 11 Jul 2022 16:36:02 -0400 Message-ID: <1239146.1657571762@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > On 2022-07-11 16:17:28 -0400, Robert Haas wrote: >> Sorry if I'm being dense, but why do we have to duplicate the list of >> files instead of having gen_node_support.pl just sort whatever list >> the build system provides to it? > Because right now there's two buildsystems already (look at > Solution.pm). Looks like we'll briefly have three, then two again. There are two things we need: (1) be sure that the build system knows about all the files of interest, and (2) process them in the correct order, which is *not* alphabetical. "Just sort" won't achieve either. regards, tom lane