From 486882305723bd7fe71fc760232c1a70431bc2a5 Mon Sep 17 00:00:00 2001 From: "G.Azamat" Date: Wed, 30 Aug 2017 22:01:38 +0500 Subject: [PATCH] fix db.sh for postgres 9.5+ fixed backup function for postgres 9.5+ (removed "-i" option) --- func/db.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/func/db.sh b/func/db.sh index 9026737d2..0219507fa 100644 --- a/func/db.sh +++ b/func/db.sh @@ -88,7 +88,7 @@ psql_query() { } psql_dump() { - pg_dump -h $HOST -U $USER -c --inserts -O -x -i -f $1 $2 2>/tmp/e.psql + pg_dump -h $HOST -U $USER -c --inserts -O -x -f $1 $2 2>/tmp/e.psql if [ '0' -ne "$?" ]; then rm -rf $tmpdir if [ "$notify" != 'no' ]; then