Re: some unused parameters cleanup
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2020-08-26T13:32:34Z
Lists: pgsql-hackers
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
Commits
-
Remove unused parameters
- 8354e7b27ebe 14.0 landed
-
Remove unused parameter
- c02767d2415d 14.0 landed
- 1dec091d5b0b 14.0 landed
- 76af9744db16 14.0 landed
- 96cfcadd26e2 14.0 landed
- fd5e3b291415 14.0 landed
-
Keep pg_stat_statements' query texts in a file, not in shared memory.
- f0d6f20278b7 9.4.0 cited