Re: some unused parameters cleanup

Поиск
Список
Период
Сортировка
От Andreas Karlsson
Тема Re: some unused parameters cleanup
Дата
Msg-id 9612131a-b666-ce3b-e0ac-74f304cf3228@proxel.se
обсуждение исходный текст
Ответ на Re: some unused parameters cleanup  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: some unused parameters cleanup  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Список pgsql-hackers
On 8/25/20 7:42 PM, Bruce Momjian wrote:
> On Tue, Aug 25, 2020 at 12:59:31PM -0400, Tom Lane wrote:
>> Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
>>> Here is a series of patches to remove some unused function parameters.
>>> In each case, the need for them was removed by some other code changes
>>> over time but the unusedness was not noticed.  I have included a
>>> reference to when they became unused in each case.
>>
>> 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 think if they are kept for that reason, we should document that so we
> know not to revisit this issue for them.

+1

That way we can avoid new people discovering the same unused parameters 
and then submitting patches for them.

Andreas




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Re: [HACKERS] Custom compression methods
Следующее
От: Robert Haas
Дата:
Сообщение: Re: LWLockAcquire and LockBuffer mode argument