Fix fmgroids.h not regenerated after "clean" (not "clean dist") on Windows

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Fix fmgroids.h not regenerated after "clean" (not "clean dist") on Windows
Дата
Msg-id 50C82D22.1010903@2ndquadrant.com
обсуждение исходный текст
Ответы Re: Fix fmgroids.h not regenerated after "clean" (not "clean dist") on Windows  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Hi all

There's an issue with MSVC builds on Windows where clean.bat deletes
src\include\utils\fmgroids.h (as it should) but build.pl doesn't
re-create it reliably.

It's created fine on the first build because Gen_fmgrtab.pl is called if
src\backend\utils\fmgrtab.c is missing, which it is on first build.
Generating it also generates src\backend\utils\fmgroids.h, which is
copied to src\include. However, this copy isn't repeated after clean
deletes src\include\utils\fmgroids.h .

"clean dist" is fine, since it deletes fmgrtab.c too, causing the whole
thing to be re-generated.

The attached patch fixes the issue.

--
Craig Ringer

Вложения

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Shuffling xlog header files
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: skipping context for RAISE statements - maybe obsolete?