diff options
author | Peter Bex <peter@more-magic.net> | 2023-03-19 10:50:55 +0100 |
---|---|---|
committer | Peter Bex <peter@more-magic.net> | 2023-03-19 10:50:55 +0100 |
commit | 4dc7e35e7aa542243c9beed5c6a2a5fc07836de9 (patch) | |
tree | f67968cfee99942a8f77770ab83756a9d417ff24 /.envrc | |
parent | 9d05c9ca73c2b501744d528475532ab728318bde (diff) | |
download | ppq-4dc7e35e7aa542243c9beed5c6a2a5fc07836de9.tar.gz |
This allows, for example, to easily run a different major Postgres version.
Diffstat (limited to '.envrc')
-rw-r--r-- | .envrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3,6 +3,8 @@ export PPQ_POSTGRES_VERSION=15 export PPQ_POSTGRES_DIR=$(expand_path postgres) export PPQ_POSTGRES_DATA_DIR=$(expand_path postgres/data) +source_env_if_exists .envrc.local + # Settings for libpq-based clients and postgres itself export PGDATA="${PPQ_POSTGRES_DATA_DIR}" export PGHOST="${PPQ_POSTGRES_DATA_DIR}" |