Explorar o código

Merge pull request #1267 from IStranger/master

fix db.sh for postgres 9.5+
Serghey Rodin %!s(int64=8) %!d(string=hai) anos
pai
achega
aefc654922
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      func/db.sh

+ 1 - 1
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