Change sample config's postgres user to synapse_user (#7889)

The [postgres setup docs](https://github.com/matrix-org/synapse/blob/develop/docs/postgres.md#set-up-database) recommend setting up your database with user `synapse_user`.

However, uncommenting the postgres defaults in the sample config leave you with user `synapse`.

This PR switches the sample config to recommend `synapse_user`. Took a me a second to figure this out, so assume this will beneficial to others.
This commit is contained in:
Andrew Morgan 2020-07-20 13:29:25 -04:00 committed by GitHub
parent 438020732e
commit 5ecf98f59e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

1
changelog.d/7889.doc Normal file
View File

@ -0,0 +1 @@
Change the sample config postgres user section to use `synapse_user` instead of `synapse` to align with the documentation.

View File

@ -685,7 +685,7 @@ caches:
#database:
# name: psycopg2
# args:
# user: synapse
# user: synapse_user
# password: secretpassword
# database: synapse
# host: localhost

View File

@ -55,7 +55,7 @@ DEFAULT_CONFIG = """\
#database:
# name: psycopg2
# args:
# user: synapse
# user: synapse_user
# password: secretpassword
# database: synapse
# host: localhost