- Notifications
You must be signed in to change notification settings - Fork5k
Commit26996cf
committed
Don't use "cp -i" in the example WAL archive_command.
This is a dangerous example to provide because on machines with GNU cp,it will silently do the wrong thing and risk archive corruption. Worse,during the 9.0 cycle somebody "improved" the discussion by removing thewarning that used to be there about that, and instead leaving theimpression that the command would work as desired on most Unixen.It doesn't. Try to rectify the damage by providing an example that is safemost everywhere, and then noting that you can try cp -i if you want butyou'd better test that.In back-patching this to all supported branches, I also added an examplecommand for Windows, which wasn't provided before 9.0.1 parent6c320b8 commit26996cf
1 file changed
+13
-10
lines changedLines changed: 13 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
530 | 530 |
| |
531 | 531 |
| |
532 | 532 |
| |
533 |
| - | |
| 533 | + | |
| 534 | + | |
534 | 535 |
| |
535 | 536 |
| |
536 | 537 |
| |
| |||
562 | 563 |
| |
563 | 564 |
| |
564 | 565 |
| |
| 566 | + | |
| 567 | + | |
| 568 | + | |
565 | 569 |
| |
566 | 570 |
| |
567 |
| - | |
568 |
| - | |
569 |
| - | |
570 |
| - | |
571 |
| - | |
572 |
| - | |
573 |
| - | |
574 |
| - | |
575 |
| - | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
576 | 579 |
| |
577 | 580 |
| |
578 | 581 |
| |
|
0 commit comments
Comments
(0)