forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9a4059d
committed
Simplify logic to sync target directory at the end of pg_rewind
The previous sync logic relied on looking for and then launchingexternally initdb -S, which is a simple wrapper on top of fsync_pgdata.There is nothing preventing pg_rewind to directly call this routine, soremove the dependency to initdb and just call it directly.Author: Michael PaquierReviewed-by: Heikki LinnakangasDiscussion:https://postgr.es/m/20180325122607.GB3707@paquier.xyz1 parent0905fe8 commit9a4059d
1 file changed
+5
-39
lines changedLines changed: 5 additions & 39 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| 28 | + | |
28 | 29 |
| |
29 | 30 |
| |
30 | 31 |
| |
| |||
701 | 702 |
| |
702 | 703 |
| |
703 | 704 |
| |
704 |
| - | |
705 |
| - | |
706 |
| - | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
707 | 708 |
| |
708 | 709 |
| |
709 | 710 |
| |
710 | 711 |
| |
711 |
| - | |
712 |
| - | |
713 |
| - | |
714 |
| - | |
715 |
| - | |
716 |
| - | |
717 |
| - | |
718 |
| - | |
719 |
| - | |
720 |
| - | |
721 |
| - | |
722 |
| - | |
723 |
| - | |
724 |
| - | |
725 |
| - | |
726 |
| - | |
727 |
| - | |
728 |
| - | |
729 |
| - | |
730 |
| - | |
731 |
| - | |
732 |
| - | |
733 |
| - | |
734 |
| - | |
735 |
| - | |
736 |
| - | |
737 | 712 |
| |
738 | 713 |
| |
739 | 714 |
| |
740 |
| - | |
741 |
| - | |
742 |
| - | |
743 |
| - | |
744 |
| - | |
745 |
| - | |
746 |
| - | |
747 |
| - | |
748 |
| - | |
749 |
| - | |
| 715 | + | |
750 | 716 |
|
0 commit comments
Comments
(0)