Commit 959b7cc
fix(settings): default to empty host environment variable
If you do not supply a host variable, Then psycopg2 will connect using a Unix socket in the same
manner as psql. Surprisingly, when you specify a HOST, psycopg2 will connect with TCP/IP, which
requires a password. This broke my environment with the following:
OperationalError: fe_sendauth: no password supplied
See: http://stackoverflow.com/a/238716181 parent 2046014 commit 959b7cc
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
| 333 | + | |
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| |||
0 commit comments