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. ]
Showing
- contrib/pg_upgrade/pg_upgrade.c 6 additions, 0 deletionscontrib/pg_upgrade/pg_upgrade.c
- contrib/pg_upgrade/server.c 6 additions, 4 deletionscontrib/pg_upgrade/server.c
- doc/src/sgml/config.sgml 9 additions, 0 deletionsdoc/src/sgml/config.sgml
- doc/src/sgml/ref/initdb.sgml 11 additions, 0 deletionsdoc/src/sgml/ref/initdb.sgml
- src/bin/initdb/initdb.c 15 additions, 1 deletionsrc/bin/initdb/initdb.c
Loading
Please register or sign in to comment