Closed igorpejic closed 8 years ago
When the postgres_user and postgres_db are different this causes a bug:
For example: POSTGRES_USER=igor POSTGRES_DB=trader
result: FATAL: database "igor" does not exist
Explanation of solution:
http://www.postgresql.org/message-id/1155685965.28246.6.camel@dell.home.lan
If you run psql without a database name as an option, it tries to connect to a database with the same name as the $USER psql runs as.
Looks good.
Looks good to me. We'll probally want to update the importer as well, as it uses the db as well.
:+1:
When the postgres_user and postgres_db are different this causes a bug:
For example: POSTGRES_USER=igor POSTGRES_DB=trader
result: FATAL: database "igor" does not exist
Explanation of solution:
http://www.postgresql.org/message-id/1155685965.28246.6.camel@dell.home.lan