Remove port and user from the default dbopts, so they instead use the postgresql behavioral default.

This commit is contained in:
Mahlon E. Smith 2018-02-20 10:59:26 -08:00
parent 2c721fd622
commit 5d4c9f24e8
2 changed files with 6 additions and 3 deletions

View file

@ -107,7 +107,10 @@ Flags that require arguments must include an '=' or ':' character.
All database connection options are passed as a key/val string to the
*dbopts* flag. The default is:
"host=localhost port=5432 dbname=netdata user=netdata application_name=netdata-tsrelay"
"host=localhost dbname=netdata application_name=netdata-tsrelay"
... which uses the default PostgreSQL port, and connects as the running
user.
Reference the [PostgreSQL
Documentation](https://www.postgresql.org/docs/current/static/libpq-conn