Re: The pgrminclude problem

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: The pgrminclude problem
Дата
Msg-id 20120816155619.GP8353@momjian.us
обсуждение исходный текст
Ответ на The pgrminclude problem  (Peter Geoghegan <peter@2ndquadrant.com>)
Ответы Re: The pgrminclude problem
Список pgsql-hackers
On Thu, Aug 16, 2012 at 04:48:34PM +0100, Peter Geoghegan wrote:
> I found a tool that Google authored that attempts to solve the same
> problems as pgrminclude does in our codebase.  It's called "include
> what you use", and is based on Clang. The project is hosted here:
> 
> http://code.google.com/p/include-what-you-use/
> 
> I'm not suggesting that we should start using this tool instead of
> pgrminclude, because it has enough caveats of its own, and is mostly
> written with Google's C++ codebase in mind. However, it's worth being
> aware of. There is a useful analysis of the general problem in the
> README - "Why IWYU is Difficult" (you can probably just skip the
> extensive analysis of C++ templates as they relate to the problem
> there).
> 
> The tool is authored by Craig Silverstein, Google's director of
> technology. If he believes that IWYU is a difficult problem, well, it
> probably is.

Good to know. We only use pgrminclude very five years or so, and Tom
isn't even keen on that.

I added the URL to our src/tools/pginclude/README.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: The pgrminclude problem
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: HeapTupleHeaderAdvanceLatestRemovedXid doing the wrong thing with multixacts