- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit2bf626b
committed
Add output file argument to generate-errcodes.pl
This is in preparation for building postgres with meson / ninja.meson's 'capture' (redirecting stdout to a file) is a bit slower than programsredirecting output themselves (mostly due to a python wrapper necessary forwindows). That doesn't matter for most things, but errcodes.h is a dependencyof nearly everything, making it a bit faster seem worthwhile.Medium term it might also be worth avoiding writing errcodes.h if its contentsdidn't actually change, to avoid unnecessary recompilations.Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>Discussion:https://postgr.es/m/5e216522-ba3c-f0e6-7f97-5276d0270029@enterprisedb.com1 parent4f20506 commit2bf626b
File tree
3 files changed
+27
-7
lines changed- src
- backend/utils
- tools/msvc
3 files changed
+27
-7
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
55 |
| - | |
| 55 | + | |
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
|
Lines changed: 25 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
| |
9 |
| - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
10 | 30 |
| |
11 |
| - | |
| 31 | + | |
12 | 32 |
| |
13 |
| - | |
14 | 33 |
| |
15 | 34 |
| |
16 | 35 |
| |
| |||
25 | 44 |
| |
26 | 45 |
| |
27 | 46 |
| |
28 |
| - | |
| 47 | + | |
29 | 48 |
| |
30 | 49 |
| |
31 | 50 |
| |
| |||
40 | 59 |
| |
41 | 60 |
| |
42 | 61 |
| |
43 |
| - | |
| 62 | + | |
44 | 63 |
| |
45 | 64 |
| |
46 | 65 |
| |
| 66 | + |
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
662 | 662 |
| |
663 | 663 |
| |
664 | 664 |
| |
665 |
| - | |
| 665 | + | |
666 | 666 |
| |
667 | 667 |
| |
668 | 668 |
| |
|
0 commit comments
Comments
(0)