Fix BF1913926 - Errors in migrate_postgresql.sh script
This commit is contained in:
parent
be285084f9
commit
8d1204b087
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue