Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[7.x] Allow setting synchronous_commit for Postgres
See https://www.postgresql.org/docs/current/runtime-config-wal.html#GUC-SYNCHRONOUS-COMMIT > Specifies whether transaction commit will wait for WAL records to be written to disk before the command returns a “success” indication to the client. Valid values are on, remote_apply, remote_write, local, and off > … > So, turning synchronous_commit off can be a useful alternative when performance is more important than exact certainty about the durability of a transaction.
- Loading branch information