forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd2e1508
committed
Remove configure probe for fdatasync.
fdatasync() is in SUSv2, and all targeted Unix systems have it. We havea replacement function for Windows.We retain the probe for the function declaration, which allows us tosupply the mysteriously missing declaration for macOS, and also forWindows. No need to keep a HAVE_FDATASYNC macro around.Also rename src/port/fdatasync.c to win32fdatasync.c since it's only forWindows.Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Reviewed-by: Andres Freund <andres@anarazel.de>Discussion:https://postgr.es/m/CA+hUKGJ3LHeP9w5Fgzdr4G8AnEtJ=z=p6hGDEm4qYGEUX5B6fQ@mail.gmail.comDiscussion:https://postgr.es/m/CA%2BhUKGJZJVO%3DiX%2Beb-PXi2_XS9ZRqnn_4URh0NUQOwt6-_51xQ%40mail.gmail.com1 parent623cc67 commitd2e1508
File tree
12 files changed
+15
-48
lines changed- src
- backend
- access/transam
- storage/file
- bin/pg_test_fsync
- include
- access
- port
- port
- tools/msvc
12 files changed
+15
-48
lines changedLines changed: 7 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16039 | 16039 |
| |
16040 | 16040 |
| |
16041 | 16041 |
| |
16042 |
| - | |
| 16042 | + | |
16043 | 16043 |
| |
16044 | 16044 |
| |
16045 | 16045 |
| |
| |||
16929 | 16929 |
| |
16930 | 16930 |
| |
16931 | 16931 |
| |
16932 |
| - | |
16933 |
| - | |
16934 |
| - | |
16935 |
| - | |
16936 |
| - | |
16937 |
| - | |
16938 | 16932 |
| |
16939 | 16933 |
| |
16940 | 16934 |
| |
| |||
16977 | 16971 |
| |
16978 | 16972 |
| |
16979 | 16973 |
| |
| 16974 | + | |
| 16975 | + | |
| 16976 | + | |
| 16977 | + | |
| 16978 | + | |
| 16979 | + | |
16980 | 16980 |
| |
16981 | 16981 |
| |
16982 | 16982 |
| |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1792 | 1792 |
| |
1793 | 1793 |
| |
1794 | 1794 |
| |
1795 |
| - | |
1796 | 1795 |
| |
1797 | 1796 |
| |
1798 | 1797 |
| |
| |||
1928 | 1927 |
| |
1929 | 1928 |
| |
1930 | 1929 |
| |
1931 |
| - | |
1932 | 1930 |
| |
1933 | 1931 |
| |
1934 | 1932 |
| |
1935 | 1933 |
| |
1936 | 1934 |
| |
1937 | 1935 |
| |
1938 | 1936 |
| |
| 1937 | + | |
1939 | 1938 |
| |
1940 | 1939 |
| |
1941 | 1940 |
| |
|
Lines changed: 0 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
168 | 168 |
| |
169 | 169 |
| |
170 | 170 |
| |
171 |
| - | |
172 | 171 |
| |
173 |
| - | |
174 | 172 |
| |
175 | 173 |
| |
176 | 174 |
| |
| |||
8015 | 8013 |
| |
8016 | 8014 |
| |
8017 | 8015 |
| |
8018 |
| - | |
8019 | 8016 |
| |
8020 | 8017 |
| |
8021 | 8018 |
| |
8022 | 8019 |
| |
8023 |
| - | |
8024 | 8020 |
| |
8025 | 8021 |
| |
8026 | 8022 |
| |
|
Lines changed: 0 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
442 | 442 |
| |
443 | 443 |
| |
444 | 444 |
| |
445 |
| - | |
446 |
| - | |
447 | 445 |
| |
448 | 446 |
| |
449 | 447 |
| |
450 | 448 |
| |
451 | 449 |
| |
452 |
| - | |
453 |
| - | |
454 | 450 |
| |
455 |
| - | |
456 |
| - | |
457 |
| - | |
458 |
| - | |
459 | 451 |
| |
460 | 452 |
| |
461 | 453 |
| |
|
Lines changed: 0 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
331 | 331 |
| |
332 | 332 |
| |
333 | 333 |
| |
334 |
| - | |
335 | 334 |
| |
336 | 335 |
| |
337 | 336 |
| |
| |||
347 | 346 |
| |
348 | 347 |
| |
349 | 348 |
| |
350 |
| - | |
351 |
| - | |
352 |
| - | |
353 | 349 |
| |
354 | 350 |
| |
355 | 351 |
| |
|
Lines changed: 2 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
70 |
| - | |
71 |
| - | |
| 70 | + | |
72 | 71 |
| |
73 | 72 |
| |
74 | 73 |
| |
75 | 74 |
| |
76 | 75 |
| |
77 | 76 |
| |
78 | 77 |
| |
79 |
| - | |
80 |
| - | |
81 | 78 |
| |
82 |
| - | |
| 79 | + | |
83 | 80 |
| |
84 | 81 |
| |
85 | 82 |
|
Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
170 | 170 |
| |
171 | 171 |
| |
172 | 172 |
| |
173 |
| - | |
174 |
| - | |
175 |
| - | |
176 | 173 |
| |
177 | 174 |
| |
178 | 175 |
| |
|
Lines changed: 0 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
9 | 8 |
| |
10 |
| - |
Lines changed: 0 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
83 | 83 |
| |
84 | 84 |
| |
85 | 85 |
| |
86 |
| - | |
87 |
| - | |
88 |
| - | |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 | 86 |
| |
95 | 87 |
| |
96 | 88 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
99 | 99 |
| |
100 | 100 |
| |
101 | 101 |
| |
102 |
| - | |
| 102 | + | |
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
| |||
110 | 110 |
| |
111 | 111 |
| |
112 | 112 |
| |
| 113 | + | |
113 | 114 |
| |
114 | 115 |
| |
115 | 116 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
252 | 252 |
| |
253 | 253 |
| |
254 | 254 |
| |
255 |
| - | |
256 | 255 |
| |
257 | 256 |
| |
258 | 257 |
| |
|
0 commit comments
Comments
(0)