Re: log_heap_visible(): remove unused parameter and update comment
От
Peter Eisentraut
Тема
Re: log_heap_visible(): remove unused parameter and update comment
Дата
Msg-id
1f72c735-c897-0ad6-b149-aaf5d1c4fcf0@enterprisedb.com
Ответ на
Re: log_heap_visible(): remove unused parameter and update comment (Bharath Rupireddy)
Список
Дерево обсуждения
log_heap_visible(): remove unused parameter and update comment "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
Re: log_heap_visible(): remove unused parameter and update comment Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: log_heap_visible(): remove unused parameter and update comment "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
Re: log_heap_visible(): remove unused parameter and update comment Japin Li <japinli@hotmail.com>
Re: log_heap_visible(): remove unused parameter and update comment Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: log_heap_visible(): remove unused parameter and update comment Japin Li <japinli@hotmail.com>
Re: log_heap_visible(): remove unused parameter and update comment Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: log_heap_visible(): remove unused parameter and update comment Peter Eisentraut <peter.eisentraut@enterprisedb.com>
On 04.10.22 09:19, Bharath Rupireddy wrote: > We have the pg_attribute_unused() macro already. I'm not sure if > adding -Wunused-parameter for compilation plus using > pg_attribute_unused() for unused-yet-contextually-required variables > is a great idea. But it has some merits as it avoids unused variables > lying around in the code. However, we can even discuss this in a > separate thread IMO to hear more from other hackers. I tried this once. The patch I have from a few years ago is 420 files changed, 1482 insertions(+), 1482 deletions(-) and it was a lot of work to maintain. I can send it in if there is interest. But I'm not sure if it's worth it.
В списке pgsql-hackers по дате отправления
От: Peter Eisentraut
Дата: