forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5b571bb
committed
Handle posix_fallocate() errors.
On some platforms, posix_fallocate() is available but may still returnEINVAL if the underlying filesystem does not support it. So, in caseof an error, fall through to the alternate implementation that justwrites zeros.Per buildfarm failure and analysis by Tom Lane.1 parent43c3aab commit5b571bb
1 file changed
+12
-18
lines changedLines changed: 12 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2259 | 2259 |
| |
2260 | 2260 |
| |
2261 | 2261 |
| |
| 2262 | + | |
2262 | 2263 |
| |
2263 | 2264 |
| |
2264 | 2265 |
| |
| |||
2301 | 2302 |
| |
2302 | 2303 |
| |
2303 | 2304 |
| |
2304 |
| - | |
2305 |
| - | |
2306 |
| - | |
2307 |
| - | |
2308 |
| - | |
2309 |
| - | |
2310 |
| - | |
2311 |
| - | |
2312 |
| - | |
2313 |
| - | |
| 2305 | + | |
| 2306 | + | |
| 2307 | + | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
| 2314 | + | |
2314 | 2315 |
| |
2315 |
| - | |
2316 |
| - | |
2317 |
| - | |
2318 |
| - | |
2319 |
| - | |
2320 |
| - | |
2321 |
| - | |
| 2316 | + | |
2322 | 2317 |
| |
2323 | 2318 |
| |
2324 | 2319 |
| |
| |||
2366 | 2361 |
| |
2367 | 2362 |
| |
2368 | 2363 |
| |
2369 |
| - | |
2370 | 2364 |
| |
2371 | 2365 |
| |
2372 | 2366 |
| |
|
0 commit comments
Comments
(0)