forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit495ed0e
committed
Make Windows 10 the minimal runtime requirement for WIN32
This commit bumps the runtime value of _WIN32_WINNT to be 0x0A00 for anybuilds on Windows. Hence, this makes Windows 10 the minimal requirementwhen running PostgreSQL under WIN32, be it for builds of Cygwin, MinGWor Visual Studio.The previous minimal runtime version was either Windows Vista whenbuilding with at least Visual Studio 2015 or Windows XP for the rest.Windows 10 is the most modern version supported by Microsoft, and perdiscussion, as we don't have buildfarm members that run older versionsanymore, this is the minimal supported version that suits better for ourneeds. This will actually make easier the development of some patches,two being async I/O and large page handling by avoiding a lot ofcompatibility gotchas, on platforms that have most likely few usersanyway.It is possible to remove MIN_WINNT in win32.h and the macrosIsWindowsXXXOrGreater() that were used in the code at runtime to checkwhich version of Windows was getting used. The change in pg_locale.ccomes from Juan. Note that all my tests passed, and that the CI isgreen. The buildfarm will quickly tell if this needs more adjustments.Author: Michael Paquier, Juan José Santamaría FlechaReviewed-by: Thomas MunroDiscussion:https://postgr.es/m/Yo7tHKD8VCkeNi71@paquier.xyz1 parentd547f7c commit495ed0e
File tree
6 files changed
+13
-69
lines changed- doc/src/sgml
- src
- backend
- main
- utils/adt
- bin/pg_ctl
- include/port
6 files changed
+13
-69
lines changedLines changed: 2 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
82 | 82 |
| |
83 | 83 |
| |
84 | 84 |
| |
85 |
| - | |
86 |
| - | |
87 |
| - | |
88 |
| - | |
89 |
| - | |
| 85 | + | |
90 | 86 |
| |
91 | 87 |
| |
92 | 88 |
| |
| |||
358 | 354 |
| |
359 | 355 |
| |
360 | 356 |
| |
361 |
| - | |
362 |
| - | |
| 357 | + | |
363 | 358 |
| |
364 | 359 |
| |
365 | 360 |
| |
|
Lines changed: 4 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2136 | 2136 |
| |
2137 | 2137 |
| |
2138 | 2138 |
| |
2139 |
| - | |
| 2139 | + | |
2140 | 2140 |
| |
2141 | 2141 |
| |
2142 | 2142 |
| |
| |||
2323 | 2323 |
| |
2324 | 2324 |
| |
2325 | 2325 |
| |
2326 |
| - | |
2327 |
| - | |
| 2326 | + | |
| 2327 | + | |
2328 | 2328 |
| |
2329 | 2329 |
| |
2330 | 2330 |
| |
2331 | 2331 |
| |
2332 | 2332 |
| |
2333 | 2333 |
| |
2334 |
| - | |
2335 |
| - | |
| 2334 | + | |
2336 | 2335 |
| |
2337 | 2336 |
| |
2338 | 2337 |
| |
|
Lines changed: 0 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
290 | 290 |
| |
291 | 291 |
| |
292 | 292 |
| |
293 |
| - | |
294 |
| - | |
295 |
| - | |
296 |
| - | |
297 |
| - | |
298 |
| - | |
299 |
| - | |
300 |
| - | |
301 |
| - | |
302 |
| - | |
303 |
| - | |
304 |
| - | |
305 |
| - | |
306 |
| - | |
307 |
| - | |
308 |
| - | |
309 |
| - | |
310 | 293 |
| |
311 | 294 |
| |
312 | 295 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1719 | 1719 |
| |
1720 | 1720 |
| |
1721 | 1721 |
| |
1722 |
| - | |
| 1722 | + | |
1723 | 1723 |
| |
1724 | 1724 |
| |
1725 | 1725 |
| |
| |||
1747 | 1747 |
| |
1748 | 1748 |
| |
1749 | 1749 |
| |
1750 |
| - | |
| 1750 | + | |
1751 | 1751 |
| |
1752 | 1752 |
| |
1753 | 1753 |
| |
|
Lines changed: 2 additions & 24 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1896 | 1896 |
| |
1897 | 1897 |
| |
1898 | 1898 |
| |
1899 |
| - | |
1900 |
| - | |
1901 |
| - | |
1902 |
| - | |
1903 |
| - | |
1904 |
| - | |
1905 |
| - | |
1906 |
| - | |
1907 |
| - | |
1908 |
| - | |
1909 |
| - | |
| 1899 | + | |
| 1900 | + | |
1910 | 1901 |
| |
1911 | 1902 |
| |
1912 | 1903 |
| |
| |||
1946 | 1937 |
| |
1947 | 1938 |
| |
1948 | 1939 |
| |
1949 |
| - | |
1950 |
| - | |
1951 |
| - | |
1952 |
| - | |
1953 |
| - | |
1954 |
| - | |
1955 |
| - | |
1956 |
| - | |
1957 |
| - | |
1958 |
| - | |
1959 |
| - | |
1960 |
| - | |
1961 |
| - | |
1962 | 1940 |
| |
1963 | 1941 |
| |
1964 | 1942 |
| |
|
Lines changed: 3 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
15 |
| - | |
16 |
| - | |
17 |
| - | |
| 14 | + | |
18 | 15 |
| |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
| 16 | + | |
26 | 17 |
| |
27 | 18 |
| |
28 | 19 |
| |
29 |
| - | |
30 |
| - | |
31 |
| - | |
| 20 | + | |
32 | 21 |
| |
33 | 22 |
| |
34 | 23 |
| |
|
0 commit comments
Comments
(0)