Re: src/tools/pginclude considered harmful (was Re:

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: src/tools/pginclude considered harmful (was Re:
Дата
Msg-id 8997.1153176411@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: src/tools/pginclude considered harmful (was Re:  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: src/tools/pginclude considered harmful (was Re:  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> FYI, 527 include were removed from non-header C files in this run.  That
> is not something that can be easily done manually.

It's not so easily done automatically, either :-(.  I'm not sure why
this go-round was so much more painful than the last, but it very
clearly exposed the deficiencies in your testing process.  Mainly,
that you tested only one set of configure options on one platform.

I would say that minimum requirements for doing this again in future
are (1) test with and without --enable-cassert, and (2) test with and
without EXEC_BACKEND.  We *know* that both those things change the
set of headers required.  It might be necessary to actually test the
WIN32 port separately --- EXEC_BACKEND is close but not the same.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] Proposed patch for contrib/cube
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] pg_regress in C