forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit36b3d52
committed
Remove configure probe for sys/resource.h and refactor.
<sys/resource.h> is in SUSv2 and is on all targeted Unix systems. Wehave a replacement for getrusage() on Windows, so let's just move itsdeclarations into src/include/port/win32/sys/resource.h so that we canuse a standard-looking #include. Also remove an obsolete reference toCLK_TCK. Also rename src/port/getrusage.c to win32getrusage.c,following the convention for Windows-only fallback code.Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/CA%2BhUKG%2BL_3brvh%3D8e0BW_VfX9h7MtwgN%3DnFHP5o7X2oZucY9dg%40mail.gmail.com1 parent37a65d1 commit36b3d52
File tree
16 files changed
+42
-89
lines changed- src
- backend
- storage/file
- tcop
- bin
- pg_ctl
- pgbench
- include
- port/win32/sys
- utils
- port
- test/regress
- tools
- msvc
- pginclude
16 files changed
+42
-89
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13874 | 13874 |
| |
13875 | 13875 |
| |
13876 | 13876 |
| |
13877 |
| - | |
| 13877 | + | |
13878 | 13878 |
| |
13879 | 13879 |
| |
13880 | 13880 |
| |
| |||
16734 | 16734 |
| |
16735 | 16735 |
| |
16736 | 16736 |
| |
16737 |
| - | |
16738 |
| - | |
16739 |
| - | |
16740 |
| - | |
16741 |
| - | |
16742 |
| - | |
16743 | 16737 |
| |
16744 | 16738 |
| |
16745 | 16739 |
| |
| |||
16782 | 16776 |
| |
16783 | 16777 |
| |
16784 | 16778 |
| |
| 16779 | + | |
| 16780 | + | |
| 16781 | + | |
| 16782 | + | |
| 16783 | + | |
| 16784 | + | |
16785 | 16785 |
| |
16786 | 16786 |
| |
16787 | 16787 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1459 | 1459 |
| |
1460 | 1460 |
| |
1461 | 1461 |
| |
1462 |
| - | |
1463 | 1462 |
| |
1464 | 1463 |
| |
1465 | 1464 |
| |
| |||
1897 | 1896 |
| |
1898 | 1897 |
| |
1899 | 1898 |
| |
1900 |
| - | |
1901 | 1899 |
| |
1902 | 1900 |
| |
1903 | 1901 |
| |
1904 | 1902 |
| |
1905 | 1903 |
| |
1906 | 1904 |
| |
1907 | 1905 |
| |
| 1906 | + | |
1908 | 1907 |
| |
1909 | 1908 |
| |
1910 | 1909 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
75 | 75 |
| |
76 | 76 |
| |
77 | 77 |
| |
| 78 | + | |
78 | 79 |
| |
79 | 80 |
| |
80 | 81 |
| |
| |||
83 | 84 |
| |
84 | 85 |
| |
85 | 86 |
| |
86 |
| - | |
87 |
| - | |
88 |
| - | |
89 | 87 |
| |
90 | 88 |
| |
91 | 89 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
26 | 27 |
| |
27 | 28 |
| |
28 |
| - | |
29 | 29 |
| |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 | 30 |
| |
37 | 31 |
| |
38 | 32 |
| |
| |||
4860 | 4854 |
| |
4861 | 4855 |
| |
4862 | 4856 |
| |
4863 |
| - | |
| 4857 | + | |
4864 | 4858 |
| |
4865 | 4859 |
| |
4866 | 4860 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| 17 | + | |
17 | 18 |
| |
| 19 | + | |
18 | 20 |
| |
19 | 21 |
| |
20 | 22 |
| |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 | 23 |
| |
26 | 24 |
| |
27 | 25 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
44 | 43 |
| |
45 |
| - | |
46 | 44 |
| |
47 | 45 |
| |
48 | 46 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
505 | 505 |
| |
506 | 506 |
| |
507 | 507 |
| |
508 |
| - | |
509 |
| - | |
510 |
| - | |
511 | 508 |
| |
512 | 509 |
| |
513 | 510 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + |
This file was deleted.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 | 17 |
| |
21 |
| - | |
22 |
| - | |
23 |
| - | |
| 18 | + | |
24 | 19 |
| |
25 | 20 |
| |
26 | 21 |
| |
|
0 commit comments
Comments
(0)