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
15
15
pkill -9 -e postgres || true
16
16
sleep 1
17
17
18
- rm -rf $GDATA
19
- mkdir $GDATA
18
+ rm -rf $PGDATA
19
+ mkdir $PGDATA
20
20
rm -rf logfile.log || true
21
21
22
22
# Building project
23
- ./cmp.sh
23
+
24
24
make > /dev/null
25
25
make -C contrib > /dev/null
26
26
make install > /dev/null
27
27
make -C contrib install > /dev/null
28
28
29
- initdb -D GCP_PGDATA -E UTF8 --locale=C
29
+ initdb -D $PGDATA -E UTF8 --locale=C
30
30
31
31
echo " shared_preload_libraries = 'postgres_fdw, pg_exchange'" >> $PGDATA /postgresql.conf
32
32
echo " listen_addresses = '*'" >> $PGDATA /postgresql.conf
33
33
echo " host all all 0.0.0.0/0 trust" >> $PGDATA /pg_hba.conf
34
34
35
- pg_ctl -w -c -D $PGDATA -l logfile- $1 .log start
35
+ pg_ctl -w -c -D $PGDATA -l logfile.log start
36
36
createdb
37
37
You can’t perform that action at this time.
0 commit comments