forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0a42a2e
committed
Remove win32ver.rc from version_stamp.pl
This removes another relic from the old nmake-based Windows build.version_stamp.pl put version number information into win32ver.rc. Butwin32ver.rc already gets other version number information from thepreprocessor at build time, so it would make more sense if all versionnumber information would be handled in the same way and we don't havetwo places that do it.What we need for this is having the major version number and the minorversion number as separate integer symbols. Both configure andSolution.pm already have that logic, because they computePG_VERSION_NUM. So we just keep all the logic there now. Put theminor version number into a new symbol PG_MINORVERSION_NUM. Also, adda symbol PG_MAJORVERSION_NUM, which is a number, alongside theexisting PG_MAJORVERSION, which is a string.Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://www.postgresql.org/message-id/flat/1ee46ac4-a9b2-4531-bf54-5ec2e374634d@2ndquadrant.com1 parent3c173a5 commit0a42a2e
File tree
6 files changed
+36
-26
lines changed- src
- include
- port
- tools
- msvc
6 files changed
+36
-26
lines changedLines changed: 13 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2805 | 2805 |
| |
2806 | 2806 |
| |
2807 | 2807 |
| |
| 2808 | + | |
| 2809 | + | |
2808 | 2810 |
| |
2809 | 2811 |
| |
2810 | 2812 |
| |
2811 | 2813 |
| |
2812 | 2814 |
| |
2813 | 2815 |
| |
2814 | 2816 |
| |
| 2817 | + | |
| 2818 | + | |
| 2819 | + | |
| 2820 | + | |
| 2821 | + | |
| 2822 | + | |
| 2823 | + | |
| 2824 | + | |
| 2825 | + | |
| 2826 | + | |
2815 | 2827 |
| |
2816 | 2828 |
| |
2817 | 2829 |
| |
| |||
18875 | 18887 |
| |
18876 | 18888 |
| |
18877 | 18889 |
| |
18878 |
| - | |
18879 |
| - | |
| 18890 | + | |
18880 | 18891 |
| |
18881 | 18892 |
| |
18882 | 18893 |
| |
|
Lines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
| 33 | + | |
| 34 | + | |
33 | 35 |
| |
34 | 36 |
| |
| 37 | + | |
| 38 | + | |
35 | 39 |
| |
36 | 40 |
| |
37 | 41 |
| |
| |||
2318 | 2322 |
| |
2319 | 2323 |
| |
2320 | 2324 |
| |
2321 |
| - | |
2322 |
| - | |
| 2325 | + | |
2323 | 2326 |
| |
2324 | 2327 |
| |
2325 | 2328 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
780 | 780 |
| |
781 | 781 |
| |
782 | 782 |
| |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
783 | 789 |
| |
784 | 790 |
| |
785 | 791 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
8 |
| - | |
| 7 | + | |
| 8 | + | |
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
|
Lines changed: 9 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
23 | 22 |
| |
24 | 23 |
| |
25 | 24 |
| |
| |||
151 | 150 |
| |
152 | 151 |
| |
153 | 152 |
| |
| 153 | + | |
154 | 154 |
| |
155 | 155 |
| |
156 | 156 |
| |
| |||
171 | 171 |
| |
172 | 172 |
| |
173 | 173 |
| |
174 |
| - | |
175 |
| - | |
| 174 | + | |
| 175 | + | |
176 | 176 |
| |
177 | 177 |
| |
178 | 178 |
| |
| |||
440 | 440 |
| |
441 | 441 |
| |
442 | 442 |
| |
443 |
| - | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
444 | 446 |
| |
445 | 447 |
| |
446 | 448 |
| |
447 |
| - | |
| 449 | + | |
448 | 450 |
| |
449 | 451 |
| |
450 | 452 |
| |
| |||
778 | 780 |
| |
779 | 781 |
| |
780 | 782 |
| |
781 |
| - | |
| 783 | + | |
782 | 784 |
| |
783 | 785 |
| |
784 | 786 |
| |
| |||
813 | 815 |
| |
814 | 816 |
| |
815 | 817 |
| |
816 |
| - | |
| 818 | + | |
817 | 819 |
| |
818 | 820 |
| |
819 | 821 |
| |
|
Lines changed: 1 addition & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
39 | 38 |
| |
40 | 39 |
| |
41 | 40 |
| |
42 | 41 |
| |
43 |
| - | |
44 | 42 |
| |
45 | 43 |
| |
46 | 44 |
| |
47 | 45 |
| |
48 |
| - | |
49 | 46 |
| |
50 | 47 |
| |
51 | 48 |
| |
52 | 49 |
| |
53 |
| - | |
54 | 50 |
| |
55 | 51 |
| |
56 | 52 |
| |
57 | 53 |
| |
58 |
| - | |
59 | 54 |
| |
60 | 55 |
| |
61 | 56 |
| |
| |||
73 | 68 |
| |
74 | 69 |
| |
75 | 70 |
| |
76 |
| - | |
77 |
| - | |
78 | 71 |
| |
79 | 72 |
| |
80 | 73 |
| |
| |||
102 | 95 |
| |
103 | 96 |
| |
104 | 97 |
| |
105 |
| - | |
106 |
| - | |
107 |
| - | |
108 |
| - | |
109 |
| - | |
110 | 98 |
| |
111 | 99 |
| |
112 | 100 |
| |
|
0 commit comments
Comments
(0)