From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: some unused parameters cleanup
Date: Wed, 26 Aug 2020 09:32:34 -0400
Message-ID: <2814187.1598448754@sss.pgh.pa.us> (raw)
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>
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, peter.eisentraut@2ndquadrant.com
Subject: Re: some unused parameters cleanup
In-Reply-To: <2814187.1598448754@sss.pgh.pa.us>
References: <511bb100-f829-ba21-2f10-9f952ec06ead@2ndquadrant.com> <2747707.1598374771@sss.pgh.pa.us> <2bd11d40-1e66-9162-2078-1a993bb9df47@2ndquadrant.com> <2814187.1598448754@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox