Re: [HACKERS] [COMMITTERS] pgsql: Generate fmgr prototypes automatically

Поиск
Список
Период
Сортировка
Искать

Re: [HACKERS] [COMMITTERS] pgsql: Generate fmgr prototypes automatically

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Peter Eisentraut  writes:
> Generate fmgr prototypes automatically

BTW, I notice some suspicious-looking behavior with -j:

$ make -j8 -s
Writing fmgroids.h
Writing fmgroids.h
Writing postgres.bki
Writing fmgrprotos.h
Writing fmgrtab.c
Writing schemapg.h
Writing postgres.description
Writing postgres.shdescription
Writing fmgrprotos.h
Writing fmgrtab.c
...

Why do fmgroids.h, fmgrprotos.h, and fmgrtab.c now get mentioned
twice?  I suspect there is something broken about the parallelization.
If indeed multiple instances of gmake are writing these files
concurrently, that's likely to result in irreproducible build failures.
		regards, tom lane


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

От:
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Дата:
On 1/18/17 7:38 AM, Tom Lane wrote:
> Why do fmgroids.h, fmgrprotos.h, and fmgrtab.c now get mentioned
> twice?  I suspect there is something broken about the parallelization.
> If indeed multiple instances of gmake are writing these files
> concurrently, that's likely to result in irreproducible build failures.

I've pushed a fix for this.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


Re: [HACKERS] [COMMITTERS] pgsql: Generate fmgr prototypes automatically

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Peter Eisentraut  writes:
> On 1/18/17 7:38 AM, Tom Lane wrote:
>> Why do fmgroids.h, fmgrprotos.h, and fmgrtab.c now get mentioned
>> twice?  I suspect there is something broken about the parallelization.

> I've pushed a fix for this.

Seems to fix the problem for me --- thanks!
		regards, tom lane


FAQ