...
 
Commits (2)
......@@ -29,6 +29,8 @@ createDB() {
"$tmpWS/commit.sql"\
> "$tmpWS/trans.fifo"
tail -n20 "$tmpWS/trans.fifo"
# Performs schema creation. As is in a transaction if fails it will
# NOT leave the database inconsistent.
execFile $tmpWS/trans.fifo $tmpWS/error.out
......
......@@ -2,9 +2,7 @@
# Creates a temporary workspace directory
createTmpWorkspace() {
tmpWS='/tmp/psql-manager'
mkdir -p $tmpWS
echo $tmpWS
mktemp -d
}
# Check if the environment vars are set
......