Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1a2d9a6

Browse files
committed
Fix parallel make issue with new fmgrprotos.h
The make rules needed further refinement so that we don't run multiplegenerations per build.reported by Tom Lane
1 parent0bc1207 commit1a2d9a6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

‎src/backend/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,10 @@ storage/lmgr/lwlocknames.h: storage/lmgr/generate-lwlocknames.pl storage/lmgr/lw
139139
utils/errcodes.h: utils/generate-errcodes.pl utils/errcodes.txt
140140
$(MAKE) -C utils errcodes.h
141141

142-
utils/fmgroids.hutils/fmgrprotos.h: utils/Gen_fmgrtab.pl catalog/Catalog.pm$(top_srcdir)/src/include/catalog/pg_proc.h
142+
# see explanation in parser/Makefile
143+
utils/fmgrprotos.h: utils/fmgroids.h ;
144+
145+
utils/fmgroids.h: utils/Gen_fmgrtab.pl catalog/Catalog.pm$(top_srcdir)/src/include/catalog/pg_proc.h
143146
$(MAKE) -C utils$(notdir$@)
144147

145148
utils/probes.h: utils/probes.d

‎src/backend/utils/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ all: errcodes.h fmgroids.h fmgrprotos.h probes.h
2121
$(SUBDIRS:%=%-recursive): fmgroids.h fmgrprotos.h
2222

2323
# see explanation in ../parser/Makefile
24-
fmgroids.hfmgrprotos.h: fmgrtab.c ;
24+
fmgrprotos.h: fmgroids.h ;
25+
fmgroids.h: fmgrtab.c ;
2526

2627
fmgrtab.c: Gen_fmgrtab.pl$(catalogdir)/Catalog.pm$(top_srcdir)/src/include/catalog/pg_proc.h
2728
$(PERL) -I$(catalogdir)$<$(top_srcdir)/src/include/catalog/pg_proc.h

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp