Skip to content

Commit 4868823

Browse files
author
G.Azamat
authored
fix db.sh for postgres 9.5+
fixed backup function for postgres 9.5+ (removed "-i" option)
1 parent c8e0374 commit 4868823

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)