Update the `PGDATA` environment variable.

pull/11/head
Joshua Potter 2023-12-01 10:55:04 -07:00
parent 9f8f33aff9
commit 22210e7722
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@
# environment variable whenever `-D` is not specified (for e.g. # environment variable whenever `-D` is not specified (for e.g.
# `postgres` and `pg_ctl`). # `postgres` and `pg_ctl`).
# https://www.postgresql.org/docs/15/server-start.html # https://www.postgresql.org/docs/15/server-start.html
export PGDATA="$PWD/data" export PGDATA="$PWD/db"
''; '';
}; };
}); });

View File

@ -30,7 +30,7 @@
# environment variable whenever `-D` is not specified (for e.g. # environment variable whenever `-D` is not specified (for e.g.
# `postgres` and `pg_ctl`). # `postgres` and `pg_ctl`).
# https://www.postgresql.org/docs/15/server-start.html # https://www.postgresql.org/docs/15/server-start.html
export PGDATA="$PWD/data" export PGDATA="$PWD/db"
''; '';
}; };
}); });