diff options
author | Peter Bex <peter@more-magic.net> | 2023-03-19 10:06:45 +0100 |
---|---|---|
committer | Peter Bex <peter@more-magic.net> | 2023-03-19 10:46:25 +0100 |
commit | 9d05c9ca73c2b501744d528475532ab728318bde (patch) | |
tree | 66290d3bf9974ab7cf418508cc0937b838fd0343 /.envrc | |
download | ppq-9d05c9ca73c2b501744d528475532ab728318bde.tar.gz |
Initial version of "ppq" - portable PostgreSQL
This allows running PostgreSQL locally without having to set up a
system-wide service. It is portable in the sense that you can move
the directory around, and you can run multiple instances side-by-side.
Diffstat (limited to '.envrc')
-rw-r--r-- | .envrc | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +# Settings for ppq configuration +export PPQ_POSTGRES_VERSION=15 +export PPQ_POSTGRES_DIR=$(expand_path postgres) +export PPQ_POSTGRES_DATA_DIR=$(expand_path postgres/data) + +# Settings for libpq-based clients and postgres itself +export PGDATA="${PPQ_POSTGRES_DATA_DIR}" +export PGHOST="${PPQ_POSTGRES_DATA_DIR}" +export PGUSER=postgres + +use nix |