Skip to content

Commit 559b4d1

Browse files
committed
Merge pull request hestiacp#70 from ydossow/master
change -d to --inserts for pg_dump
2 parents 67a12bd + 104bfc2 commit 559b4d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/db.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ dump_pgsql_database() {
392392
exit $E_DB
393393
fi
394394

395-
pg_dump -h $HOST -U $USER -c -d -O -x -i -f $dump $database \
395+
pg_dump -h $HOST -U $USER -c --inserts -O -x -i -f $dump $database \
396396
2> /dev/null
397397

398398
if [ '0' -ne "$?" ]; then

0 commit comments

Comments
 (0)