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 1kAvXe-0002nU-Kb for pgsql-hackers@arkaria.postgresql.org; Wed, 26 Aug 2020 13:32:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kAvXc-0005Fw-OD for pgsql-hackers@arkaria.postgresql.org; Wed, 26 Aug 2020 13:32:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kAvXc-0005Fp-GZ for pgsql-hackers@lists.postgresql.org; Wed, 26 Aug 2020 13:32:40 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kAvXZ-0000gB-K9 for pgsql-hackers@postgresql.org; Wed, 26 Aug 2020 13:32:39 +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 07QDWYoO2814188; Wed, 26 Aug 2020 09:32:34 -0400 From: Tom Lane To: Peter Eisentraut cc: pgsql-hackers Subject: Re: some unused parameters cleanup In-reply-to: <2bd11d40-1e66-9162-2078-1a993bb9df47@2ndquadrant.com> References: <511bb100-f829-ba21-2f10-9f952ec06ead@2ndquadrant.com> <2747707.1598374771@sss.pgh.pa.us> <2bd11d40-1e66-9162-2078-1a993bb9df47@2ndquadrant.com> Comments: In-reply-to Peter Eisentraut message dated "Wed, 26 Aug 2020 06:38:52 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2814186.1598448754.1@sss.pgh.pa.us> Date: Wed, 26 Aug 2020 09:32:34 -0400 Message-ID: <2814187.1598448754@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Eisentraut writes: > On 2020-08-25 18:59, Tom Lane wrote: >> For some of these, there's an argument for keeping the unused parameter >> for consistency with sibling functions that do use it. Not sure how >> important that is, though. > I had meant to exclude cases like this from this patch set. If you see > a case like this in *this* patch set, please point it out. I'd been thinking specifically of the changes in pg_backup_archiver.c. But now that I look around a bit further, there's already very little consistency in that file about whether to pass the ArchiveHandle* pointer everywhere. So no further objection here. regards, tom lane