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 1oDY4G-0006v5-7F for pgsql-committers@arkaria.postgresql.org; Mon, 18 Jul 2022 21:14:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oDY4E-0001Q9-Uo for pgsql-committers@arkaria.postgresql.org; Mon, 18 Jul 2022 21:14:14 +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 1oDY4E-0001Pv-Nf for pgsql-committers@lists.postgresql.org; Mon, 18 Jul 2022 21:14:14 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oDY4C-0003yl-4h for pgsql-committers@lists.postgresql.org; Mon, 18 Jul 2022 21:14:13 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 5B03C3200805; Mon, 18 Jul 2022 17:14:10 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 18 Jul 2022 17:14:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1658178849; x=1658265249; bh=ZARla/qUcx VYq1H2DGxh418+1ZMJNxyem9n3I/wNgEE=; b=fi2Kj1YKsnwQ339wmt+kpflGgH rlE3OZNeG5AbYrG5IS2sYwQtcJ4S3k0TPVDcd/yWb1L/DXeEnvOFM/TtTQwpw99b nHmj19LNyb00KLpyaHX/lmvqA/x83v77vMWkgKfWz4f59R5XmQrmQbzAH+OWCajp o9qaPDO3xOW4ymbt5V0zPS0UAe1V6J7lpspyVBkspbF5Jxyvg5+iRkeivUcfAmzN oaSocFk0XFFyKH5mlv/1LkLFeJnxINS/qO2aYGFcsmVnZBDEvOlk5zdayQgYWBI/ ZsAPRLIBgbBCDf/TbuHlyd5wyG6tD/FyPx7BSI89fNS5usTul04Llq5IPN1Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=1658178849; x=1658265249; bh=ZARla/qUcxVYq1H2DGxh418+1ZMJ Nxyem9n3I/wNgEE=; b=BYDff0sHAGBJ/2mgBU7xo7cIdjIEuo+WEcbtB4pb8qQi aLxBuXtM7BVrsMZI/TT9IiftSgbVqD0elCYe7ZvomkyKbBPVb2PX51KD7f0GFroT rRFOh5lDGWyxBl4jNaDI7kHEMncudEA4Ux4qjwRuow6Tyn+Yq4X2HJ1nZXF/NBI9 T07ktr+7FPFkwVOFwM546+tuB967kHDQGourBOTF53YF2b38LPuGPUTgo596nl2R 3CamvLCzFDr4weHMFF50Yg0F4q5xRRyFVlZabnmJ3Vv73qk6HkKigf698ymKy51u HQAUCDv03vZ5beCRibSxwL1uvjEbEa4f+hqhgqah+A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudekkedgudehjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhepieekleeuteevteejueejgfektefftdelhefgffeileevgfevfeegveeg tdevjeegnecuffhomhgrihhnpehpohhsthhgrhdrvghspdhpohhsthhgrhgvshhqlhdroh hrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegr nhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 18 Jul 2022 17:14:09 -0400 (EDT) Date: Mon, 18 Jul 2022 14:14:08 -0700 From: Andres Freund To: pgsql-committers@lists.postgresql.org, Andrew Dunstan Subject: Re: pgsql: ecpg: Output dir, source dir, stamp file argument for preproc/*. Message-ID: <20220718211408.o2uyu5kvud56ihlj@awork3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2022-07-18 19:56:18 +0000, Andres Freund wrote: > ecpg: Output dir, source dir, stamp file argument for preproc/*.pl > > This is in preparation for building postgres with meson / ninja. > > When building with meson, commands are run at the root of the build tree. Add > an option to put build output into the appropriate place. This can be utilized > by src/tools/msvc/ for a minor simplification, which also provides some > coverage for the new option. > > Add option to generate a timestamp for check_rules.pl, so that proper > dependencies on it having been run can be generated. > Reviewed-by: Peter Eisentraut > Discussion: https://postgr.es/m/5e216522-ba3c-f0e6-7f97-5276d0270029@enterprisedb.com Crake is relaying a perlcritic error: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=crake&dt=2022-07-18%2020%3A36%3A30 Jul 18 16:48:25 ./src/interfaces/ecpg/preproc/parse.pl: Bareword file handle opened at line 30, column 1. See pages 202,204 of PBP. ([InputOutput::ProhibitBarewordFileHandles] Severity: 5) Jul 18 16:48:25 ./src/interfaces/ecpg/preproc/parse.pl: Bareword file handle opened at line 31, column 1. See pages 202,204 of PBP. ([InputOutput::ProhibitBarewordFileHandles] Severity: 5) afaict that's bogus. It's unnecessary that the code uses "our" instead of "my", but there's no bareword there and replacing our with my fixes that complaint. Am I misunderstanding something here? Greetings, Andres Freund