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 1oDZ6h-0001X3-NY for pgsql-committers@arkaria.postgresql.org; Mon, 18 Jul 2022 22:20:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oDZ6f-00037I-R0 for pgsql-committers@arkaria.postgresql.org; Mon, 18 Jul 2022 22:20:49 +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 1oDZ6f-00036U-Jw for pgsql-committers@lists.postgresql.org; Mon, 18 Jul 2022 22:20:49 +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 1oDZ6d-0004Ts-D2 for pgsql-committers@lists.postgresql.org; Mon, 18 Jul 2022 22:20:48 +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 26IMKiDM840983; Mon, 18 Jul 2022 18:20:44 -0400 From: Tom Lane To: Andres Freund cc: pgsql-committers@lists.postgresql.org, Andrew Dunstan Subject: Re: pgsql: ecpg: Output dir, source dir, stamp file argument for preproc/*. In-reply-to: <20220718221535.bf43zwf5rf2wi4wd@awork3.anarazel.de> References: <20220718211408.o2uyu5kvud56ihlj@awork3.anarazel.de> <822625.1658179641@sss.pgh.pa.us> <20220718215042.sl3hivoupdb7lkwv@awork3.anarazel.de> <838180.1658181982@sss.pgh.pa.us> <20220718221535.bf43zwf5rf2wi4wd@awork3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Mon, 18 Jul 2022 15:15:35 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <840981.1658182844.1@sss.pgh.pa.us> Date: Mon, 18 Jul 2022 18:20:44 -0400 Message-ID: <840982.1658182844@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-18 18:06:22 -0400, Tom Lane wrote: >> I took it out and fixed the half-dozen places where I got warnings, >> as attached. > Grepping for 'no warnings' shows that check_rules.pl has the same > issue. Perhaps worth fixing at the same time, given how closely related they > are? Ah, I didn't think to look around. I'll see what I can do there. >> Seem like a good fix? > Looks good to my not-perl-trained eyes. Yeah, I'm more worried about non-idiomatic usage than whether it works or not. > Might be worth making sure the output files are the same before / after? You > probably already checked... Yup, I did. regards, tom lane