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 parent4f49621 commitc722628Copy full SHA for c722628
src/test/bench/runwisc.sh
@@ -1,5 +1,5 @@
1
#!/bin/sh
2
-# $PostgreSQL: pgsql/src/test/bench/runwisc.sh,v 1.8 2004/10/07 22:51:13 momjian Exp $
+# $PostgreSQL: pgsql/src/test/bench/runwisc.sh,v 1.9 2007/08/01 22:24:32 momjian Exp $
3
4
if [!-d$1 ];then
5
echo" you must specify a valid data directory">&2
@@ -11,7 +11,7 @@ if [ -d ./obj ]; then
11
fi
12
13
echo =============== vacuuming benchmark database... =================>&2
14
-echo"vacuum"| postgres -D${1} bench> /dev/null
+echo"vacuum"| postgres -D"$1" bench> /dev/null
15
16
echo =============== running benchmark... =================>&2
17
-time postgres -D${1} -texecutor -tplanner -c log_min_messages=log -c log_destination=stderr -c redirect_stderr=off bench< bench.sql2>&1
+time postgres -D"$1" -texecutor -tplanner -c log_min_messages=log -c log_destination=stderr -c redirect_stderr=off bench< bench.sql2>&1