File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -15,23 +15,23 @@ export PGDATABASE=test
1515pkill -9 -e postgres || true
1616sleep 1
1717
18- rm -rf $GDATA
19- mkdir $GDATA
18+ rm -rf $PGDATA
19+ mkdir $PGDATA
2020rm -rf logfile.log || true
2121
2222# Building project
23- ./cmp.sh
23+
2424make > /dev/null
2525make -C contrib > /dev/null
2626make install > /dev/null
2727make -C contrib install > /dev/null
2828
29- initdb -D GCP_PGDATA -E UTF8 --locale=C
29+ initdb -D $PGDATA -E UTF8 --locale=C
3030
3131echo " shared_preload_libraries = 'postgres_fdw, pg_exchange'" >> $PGDATA /postgresql.conf
3232echo " listen_addresses = '*'" >> $PGDATA /postgresql.conf
3333echo " host all all 0.0.0.0/0 trust" >> $PGDATA /pg_hba.conf
3434
35- pg_ctl -w -c -D $PGDATA -l logfile- $1 .log start
35+ pg_ctl -w -c -D $PGDATA -l logfile.log start
3636createdb
3737
You can’t perform that action at this time.
0 commit comments