Commit 630cd14
committed
Add initdb --sync-only option to sync the data directory to durable
storage.
Have pg_upgrade use it, and enable server options fsync=off and
full_page_writes=off.
Document that users turning fsync from off to on should run initdb
--sync-only.
[ Previous commit was incorrectly applied as a git merge. ]1 parent 25d1ed0 commit 630cd14
File tree
5 files changed
+47
-5
lines changed- contrib/pg_upgrade
- doc/src/sgml
- ref
- src/bin/initdb
5 files changed
+47
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
153 | 159 | | |
154 | 160 | | |
155 | 161 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | | - | |
214 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
220 | 221 | | |
221 | 222 | | |
222 | | - | |
| 223 | + | |
| 224 | + | |
223 | 225 | | |
224 | 226 | | |
225 | 227 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1696 | 1696 | | |
1697 | 1697 | | |
1698 | 1698 | | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
1699 | 1708 | | |
1700 | 1709 | | |
1701 | 1710 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
247 | 258 | | |
248 | 259 | | |
249 | 260 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
2796 | 2797 | | |
2797 | 2798 | | |
2798 | 2799 | | |
| 2800 | + | |
2799 | 2801 | | |
2800 | 2802 | | |
2801 | 2803 | | |
| |||
3445 | 3447 | | |
3446 | 3448 | | |
3447 | 3449 | | |
| 3450 | + | |
3448 | 3451 | | |
3449 | 3452 | | |
3450 | 3453 | | |
| |||
3476 | 3479 | | |
3477 | 3480 | | |
3478 | 3481 | | |
3479 | | - | |
| 3482 | + | |
3480 | 3483 | | |
3481 | 3484 | | |
3482 | 3485 | | |
| |||
3522 | 3525 | | |
3523 | 3526 | | |
3524 | 3527 | | |
| 3528 | + | |
| 3529 | + | |
| 3530 | + | |
3525 | 3531 | | |
3526 | 3532 | | |
3527 | 3533 | | |
| |||
3589 | 3595 | | |
3590 | 3596 | | |
3591 | 3597 | | |
| 3598 | + | |
| 3599 | + | |
| 3600 | + | |
| 3601 | + | |
| 3602 | + | |
| 3603 | + | |
| 3604 | + | |
| 3605 | + | |
3592 | 3606 | | |
3593 | 3607 | | |
3594 | 3608 | | |
| |||
0 commit comments