Re: [HACKERS] [COMMITTERS] pgsql: Generate fmgr prototypesautomatically

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: [HACKERS] [COMMITTERS] pgsql: Generate fmgr prototypesautomatically
Дата
Msg-id
20170117213548.ijzl2uw4edbreyhw@alvherre.pgsql
Ответ на
Список
Дерево обсуждения
Re: [HACKERS] [COMMITTERS] pgsql: Generate fmgr prototypes automatically Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] [COMMITTERS] pgsql: Generate fmgr prototypesautomatically Alvaro Herrera <alvherre@2ndquadrant.com>
Alvaro Herrera wrote:

> It is possible to replace many occurrences of builtins.h with
> fmgrprotos.h.  I just tried this
>    git grep -l 'include.*utils/builtins.h' -- *.c | xargs perl -pi -e 's{utils/builtins.h}{utils/fmgrprotos.h}'
> There's a large number of changes that the oneliner produces that must
> be reverted for the compile to be silent, but a large portion can
> remain.  (I only tried src/backend/access).

92 files are changed, 241 files still require builtins.h.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата:
От: Robert Haas
Дата:
FAQ