瀏覽代碼

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

pull/2182/head
Slavi Pantaleev 3 年之前
父節點
當前提交
e37e86eb1c
共有 1 個檔案被更改,包括 5 行新增1 行删除
  1. +5
    -1
      roles/matrix-postgres/templates/env-postgres-psql.j2

+ 5
- 1
roles/matrix-postgres/templates/env-postgres-psql.j2 查看文件

@@ -1,4 +1,8 @@
#jinja2: lstrip_blocks: "True"
PGUSER={{ matrix_postgres_connection_username }}
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

Loading…
取消
儲存