Fix BF1913926 - Errors in migrate_postgresql.sh script

This commit is contained in:
tspc 2008-03-21 01:37:57 +00:00
parent be285084f9
commit 8d1204b087
1 changed files with 5 additions and 1 deletions

View File

@ -12,6 +12,10 @@
# CarlosRuiz - added multidirectory management 2008/02/20
# Tony Snook - set AUTOCOMMIT off, this enables the rollback feature to work as expected
echo "\set AUTOCOMMIT off"
if [ -z "$1" ]; then
echo "Usage: $0 [DIRECTORY ... DIRECTORY] [commit]"
exit 0
@ -55,4 +59,4 @@ else
echo "ROLLBACK;"
fi
echo
echo "quit"
echo "\quit"