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 1ihqHH-0004hv-8z for pgsql-hackers@arkaria.postgresql.org; Thu, 19 Dec 2019 07:31:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ihqHF-0004gd-VO for pgsql-hackers@arkaria.postgresql.org; Thu, 19 Dec 2019 07:31:17 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1ihqHF-0004gW-MI for pgsql-hackers@lists.postgresql.org; Thu, 19 Dec 2019 07:31:17 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ihqH9-0001TZ-Ax for pgsql-hackers@postgresql.org; Thu, 19 Dec 2019 07:31:17 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 4DFDD2220A; Thu, 19 Dec 2019 02:31:09 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Thu, 19 Dec 2019 02:31:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=8C3quMEuAYisBVbBF50ewzWTljgUXyeUzdMvB3hhO xU=; b=a8ihfBqitbXPnGgdfvKuAkh72SrhXzVWMKXb3nLQrYzwLoAl93pWwtE6n VOwovpo36rhXbi0yz9e6tIuHByW++fs4P+kPg3bmGrqwassaV+M3Q5Q+6PfdO57G vZ2dAls5W8xbPXaz0gzb9D6ezMCOjK2+6NaRYdrtXMprDVWCKHg2BB5xdeeZpkLn mVpHIQlKWEIsNp8uXb5W4bB/8PO9ZRhx0GqKEl7353yL6uhjR8W0S18z6qnhseyg X1Ta6+w/5W1QmrB7V5ySE34j6Sykggf5hRUVOyafMoIk7KuDZUoptiQtaPE2O6rG zYagp3TwKw/QxD3UIXFuTYMdGRM6g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvddutddguddtjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhfhokffffgggjggtgfesthejredttdefheenucfhrhhomheprfgv thgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsedvnh guqhhurggurhgrnhhtrdgtohhmqeenucffohhmrghinhepvdhnughquhgrughrrghnthdr tghomhdpphhoshhtghhrvghsqhhlrdhorhhgnecukfhppeelfedrvdegvddrudeiuddrud eftdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgruhht sedvnhguqhhurggurhgrnhhtrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from april.pezone.net (p5df2a182.dip0.t-ipconnect.de [93.242.161.130]) by mail.messagingengine.com (Postfix) with ESMTPA id 7289030609E9; Thu, 19 Dec 2019 02:31:07 -0500 (EST) Subject: Re: automating pg_config.h.win32 maintenance To: Michael Paquier References: <1441b834-f434-e0bf-46ed-9c4d5c29c2d4@2ndquadrant.com> <594b0e2a-6343-039a-1bac-a3ec7e74f2bf@iki.fi> <20191213134416.GB103520@paquier.xyz> <21839.1576245392@sss.pgh.pa.us> <2ccaf97f-5bdc-cc9c-5441-706469642776@2ndquadrant.com> <20191217063038.GM2344@paquier.xyz> <20191219035924.GE4202@paquier.xyz> Cc: Tom Lane , Heikki Linnakangas , pgsql-hackers From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <78e64ab4-ff4a-0613-660c-d6429ad8d621@2ndquadrant.com> Date: Thu, 19 Dec 2019 08:31:05 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20191219035924.GE4202@paquier.xyz> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-12-19 04:59, Michael Paquier wrote: > On Tue, Dec 17, 2019 at 11:56:17AM +0100, Peter Eisentraut wrote: >> Yeah, good idea. Attached patch is refactored so all three header files >> managed by AC_CONFIG_HEADERS are processed the same way. > > Looks good. I just have one comment. > > + # XXX > + open(my $f, '>>', 'src/include/pg_config.h') > + || confess "Could not write to src/include/pg_config.h\n"; > + print $f "\n"; > + print $f "#define VAL_CONFIGURE \"" > + . $self->GetFakeConfigure() . "\"\n"; > + close($f); > > This part needs a comment. Like it is the equivalent of what > src/common/'s Makefile does or something like that? This was meant to be addressed by , but that discussion has not concluded yet. Perhaps it makes more sense in this context. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services