Skip to content

Commit aefc654

Browse files
Merge pull request hestiacp#1267 from IStranger/master
fix db.sh for postgres 9.5+
2 parents dcd52e3 + 4868823 commit aefc654

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
@@ -88,7 +88,7 @@ psql_query() {
8888
}
8989

9090
psql_dump() {
91-
pg_dump -h $HOST -U $USER -c --inserts -O -x -i -f $1 $2 2>/tmp/e.psql
91+
pg_dump -h $HOST -U $USER -c --inserts -O -x -f $1 $2 2>/tmp/e.psql
9292
if [ '0' -ne "$?" ]; then
9393
rm -rf $tmpdir
9494
if [ "$notify" != 'no' ]; then

0 commit comments

Comments
 (0)