Fix 'could not save history to file "//.psql_history"' errors

This commit is contained in:
Slavi Pantaleev 2022-10-21 07:33:10 +03:00
parent bed9c18ab0
commit e37e86eb1c

View file

@ -2,3 +2,7 @@
PGUSER={{ matrix_postgres_connection_username }} PGUSER={{ matrix_postgres_connection_username }}
PGPASSWORD={{ matrix_postgres_connection_password }} PGPASSWORD={{ matrix_postgres_connection_password }}
PGDATABASE={{ matrix_postgres_db_name }} PGDATABASE={{ matrix_postgres_db_name }}
# Prevent errors like this:
# > could not save history to file "//.psql_history": Permission denied
# .. due to Postgres not being able to write to the filesystem.
PSQL_HISTORY=/dev/null