hack for town pg
This commit is contained in:
parent
281e3ca53b
commit
e4e5bbef6f
@ -1,6 +1,6 @@
|
||||
source ./pg.env
|
||||
|
||||
pg_ctl init
|
||||
$PGCTL init
|
||||
|
||||
mkdir -p "$PGDATA/sockets"
|
||||
echo "unix_socket_directories = 'sockets'" >> "$PGDATA/postgresql.conf"
|
||||
|
2
pg.env
2
pg.env
@ -1,3 +1,5 @@
|
||||
# export PGCTL="/usr/lib/postgresql/14/bin/pg_ctl" # tilde.town
|
||||
export PGCTL="pg_ctl"
|
||||
export PGDATA="$PWD/pgdata"
|
||||
export PGHOST="$PGDATA/sockets"
|
||||
export PGDATABASE="postgres"
|
||||
|
@ -2,4 +2,4 @@
|
||||
|
||||
source ./pg.env
|
||||
|
||||
pg_ctl start
|
||||
$PGCTL start
|
||||
|
Loading…
x
Reference in New Issue
Block a user