Re: [RFC] Clang plugin for catching suspicious typedef casting

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [RFC] Clang plugin for catching suspicious typedef casting
Дата
Msg-id e69caa1e-07cc-1575-8df2-68681e89e74d@eisentraut.org
обсуждение исходный текст
Ответ на [RFC] Clang plugin for catching suspicious typedef casting  (Dmitry Dolgov <9erthalion6@gmail.com>)
Ответы Re: [RFC] Clang plugin for catching suspicious typedef casting  (Dmitry Dolgov <9erthalion6@gmail.com>)
Список pgsql-hackers
On 03.08.23 18:56, Dmitry Dolgov wrote:
> I would like to get your opinion, folks. Does it sound interesting
> enough for the community, is it worth it to pursue the idea?

I think it's interesting, and doesn't look too invasive.

Maybe we can come up with three or four interesting use cases and try to 
implement them.  BlockNumber vs. Buffer type checking is obviously a bit 
marginal to get anyone super-excited, but it's a reasonable demo.

Also, how stable is the plugin API?  Would we need to keep updating 
these plugins for each new clang version?



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Separate memory contexts for relcache and catcache
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Adding a pg_servername() function