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 parent3bc6193 commit4f49621Copy full SHA for 4f49621
src/test/bench/create.sh
@@ -1,5 +1,5 @@
1
#!/bin/sh
2
-# $PostgreSQL: pgsql/src/test/bench/create.sh,v 1.5 2005/06/21 04:02:34 tgl Exp $
+# $PostgreSQL: pgsql/src/test/bench/create.sh,v 1.6 2007/08/01 22:23:01 momjian Exp $
3
#
4
if [!-d$1 ];then
5
echo" you must specify a valid data directory">&2
@@ -10,10 +10,10 @@ if [ -d ./obj ]; then
10
fi
11
12
echo =============== destroying old bench database... =================
13
-echo"drop database bench"| postgres -D${1} postgres> /dev/null
+echo"drop database bench"| postgres -D"$1" postgres> /dev/null
14
15
echo =============== creating new bench database... =================
16
-echo"create database bench"| postgres -D${1} postgres> /dev/null
+echo"create database bench"| postgres -D"$1" postgres> /dev/null
17
if [$?-ne 0 ];then
18
echo createdb failed
19
exit 1