Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iLRrp-0003te-Mw for pgsql-hackers@arkaria.postgresql.org; Fri, 18 Oct 2019 13:00:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iLRro-0004ry-74 for pgsql-hackers@arkaria.postgresql.org; Fri, 18 Oct 2019 13:00:28 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iLRrn-0004ra-R9 for pgsql-hackers@lists.postgresql.org; Fri, 18 Oct 2019 13:00:27 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iLRrh-0003ce-L3 for pgsql-hackers@postgresql.org; Fri, 18 Oct 2019 13:00:26 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x9ID0EfU028400; Fri, 18 Oct 2019 09:00:15 -0400 From: Tom Lane To: Alvaro Herrera cc: Michael Paquier , Peter Eisentraut , pgsql-hackers@postgresql.org Subject: Re: Clean up MinGW def file generation In-reply-to: <20191018120758.GA1661@alvherre.pgsql> References: <20191018120758.GA1661@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Fri, 18 Oct 2019 09:07:58 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <29377.1571403614.1@sss.pgh.pa.us> Date: Fri, 18 Oct 2019 15:00:14 +0200 Message-ID: <29378.1571403614@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alvaro Herrera writes: > On 2019-Oct-17, Michael Paquier wrote: >> On Tue, Oct 15, 2019 at 09:00:23AM +0200, Peter Eisentraut wrote: >>> I think we can clean this up and just have the regular ddl.def built >>> normally at build time if required. >>> Does anyone know more about this? > Well, yes, but that code originates from much earlier. For example > 2a63c1602d9d (Tom Lane, Oct. 2004) is the one that created the libpq > ones. Yeah, the comment that Peter complained about is mine. I believe the desire to avoid depending on "sed" at build time was focused on our old support for building libpq with Borland C (and not much else). Since this makefile infrastructure is now only used for MinGW, I agree we ought to be able to quit shipping those files in tarballs. I think there could be some .gitignore cleanup done along with this. Notably, I see exclusions for /exports.list in several places, but no other references to that name --- isn't that an intermediate file that we used to generate while creating these files? regards, tom lane