We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent6aec32d commit5476e85Copy full SHA for 5476e85
contrib/pg_exchange/gcp/init.sh
@@ -15,23 +15,23 @@ export PGDATABASE=test
15
pkill -9 -e postgres||true
16
sleep 1
17
18
-rm -rf$GDATA
19
-mkdir$GDATA
+rm -rf$PGDATA
+mkdir$PGDATA
20
rm -rf logfile.log||true
21
22
# Building project
23
-./cmp.sh
+
24
make> /dev/null
25
make -C contrib> /dev/null
26
make install> /dev/null
27
make -C contrib install> /dev/null
28
29
-initdb -DGCP_PGDATA -E UTF8 --locale=C
+initdb -D$PGDATA -E UTF8 --locale=C
30
31
echo"shared_preload_libraries = 'postgres_fdw, pg_exchange'">>$PGDATA/postgresql.conf
32
echo"listen_addresses = '*'">>$PGDATA/postgresql.conf
33
echo"host all all 0.0.0.0/0 trust">>$PGDATA/pg_hba.conf
34
35
-pg_ctl -w -c -D$PGDATA -l logfile-$1.log start
+pg_ctl -w -c -D$PGDATA -l logfile.log start
36
createdb
37