Bladeren bron

Merge pull request #1267 from IStranger/master

fix db.sh for postgres 9.5+
Serghey Rodin 8 jaren geleden
bovenliggende
commit
aefc654922
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      func/db.sh

+ 1 - 1
func/db.sh

@@ -88,7 +88,7 @@ psql_query() {
 }
 }
 
 
 psql_dump() {
 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
     if [ '0' -ne "$?" ]; then
         rm -rf $tmpdir
         rm -rf $tmpdir
         if [ "$notify" != 'no' ]; then
         if [ "$notify" != 'no' ]; then