Merge pull request #70 from ydossow/master

change -d to --inserts for pg_dump
This commit is contained in:
Serghey Rodin 2013-04-19 07:31:42 -07:00
commit 559b4d1287

View file

@ -392,7 +392,7 @@ dump_pgsql_database() {
exit $E_DB
fi
pg_dump -h $HOST -U $USER -c -d -O -x -i -f $dump $database \
pg_dump -h $HOST -U $USER -c --inserts -O -x -i -f $dump $database \
2> /dev/null
if [ '0' -ne "$?" ]; then