forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3dad73e
committed
Add -F option to pg_receivexlog, for specifying fsync interval.
This allows us to specify the maximum time to issue fsync to ensurethe received WAL file is safely flushed to disk. Without this,pg_receivexlog always flushes WAL file only when it's closed andwhich can cause WAL data to be lost at the event of a crash.Furuya Osamu, heavily modified by me.1 parent1add956 commit3dad73e
File tree
5 files changed
+195
-70
lines changed- doc/src/sgml/ref
- src/bin/pg_basebackup
5 files changed
+195
-70
lines changedLines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
105 | 105 |
| |
106 | 106 |
| |
107 | 107 |
| |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
108 | 123 |
| |
109 | 124 |
| |
110 | 125 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
371 | 371 |
| |
372 | 372 |
| |
373 | 373 |
| |
374 |
| - | |
| 374 | + | |
375 | 375 |
| |
376 | 376 |
| |
377 | 377 |
| |
|
Lines changed: 16 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
| 39 | + | |
39 | 40 |
| |
40 | 41 |
| |
41 | 42 |
| |
| |||
62 | 63 |
| |
63 | 64 |
| |
64 | 65 |
| |
| 66 | + | |
| 67 | + | |
65 | 68 |
| |
66 | 69 |
| |
67 | 70 |
| |
| |||
330 | 333 |
| |
331 | 334 |
| |
332 | 335 |
| |
333 |
| - | |
| 336 | + | |
| 337 | + | |
334 | 338 |
| |
335 | 339 |
| |
336 | 340 |
| |
| |||
360 | 364 |
| |
361 | 365 |
| |
362 | 366 |
| |
| 367 | + | |
363 | 368 |
| |
364 | 369 |
| |
365 | 370 |
| |
| |||
389 | 394 |
| |
390 | 395 |
| |
391 | 396 |
| |
392 |
| - | |
| 397 | + | |
393 | 398 |
| |
394 | 399 |
| |
395 | 400 |
| |
| |||
436 | 441 |
| |
437 | 442 |
| |
438 | 443 |
| |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
439 | 453 |
| |
440 | 454 |
| |
441 | 455 |
| |
|
0 commit comments
Comments
(0)