Skip to content

Commit

Permalink
[7.x] Show synchronous_commit setting for Postgres
Browse files Browse the repository at this point in the history
It's deliberately not enabled but provided commented out so developers can easily
discover that the setting is available.

The default `on` is _probably_ safe (Postgres default), but a server might
have a different default value and blindly setting it to `on` may cause problems.

Connected to laravel/framework#33897
  • Loading branch information
mfn committed Aug 15, 2020
1 parent fa43c0a commit aa50904
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/database.php
Expand Up @@ -76,6 +76,7 @@
'prefix_indexes' => true,
'schema' => 'public',
'sslmode' => 'prefer',
// 'synchronous_commit' => 'on',
],

'sqlsrv' => [
Expand Down

0 comments on commit aa50904

Please sign in to comment.