Re: Add explicit casts in four places to simplehash.h

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Add explicit casts in four places to simplehash.h
Дата
Msg-id 2280953.1667568342@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Add explicit casts in four places to simplehash.h  (David Geier <geidav.pg@gmail.com>)
Список pgsql-hackers
David Geier <geidav.pg@gmail.com> writes:
> On 11/3/22 15:50, Tom Lane wrote:
>> The bigger picture here is that we do actually endeavor to keep
>> (most of) our headers C++ clean, but our tool cpluspluscheck misses
>> these problems because it doesn't try to use these macros.
>> I wonder whether there is a way to do better.

> What about having a custom header alongside cpluspluscheck which 
> references all macros we care about?

Can't see that that would help, because of the hand maintenance
required to make it useful.

            regards, tom lane



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

Предыдущее
От: Reid Thompson
Дата:
Сообщение: Re: Add tracking of backend memory allocated to pg_stat_activity
Следующее
От: "Imseih (AWS), Sami"
Дата:
Сообщение: Re: Add index scan progress to pg_stat_progress_vacuum