Browse Source

[db.sh] change -d to --inserts

the -d parameter was removed in pgsql 8.4

Signed-off-by: Yonathan Dossow <ydossow@inf.utfsm.cl>
Yonathan Dossow 13 years ago
parent
commit
104bfc2277
1 changed files with 1 additions and 1 deletions
  1. 1 1
      func/db.sh

+ 1 - 1
func/db.sh

@@ -392,7 +392,7 @@ dump_pgsql_database() {
         exit $E_DB
     fi
 
-    pg_dump -h $HOST -U $USER -c -d -O -x -i -f $dump $database \
+    pg_dump -h $HOST -U $USER -c --inserts -O -x -i -f $dump $database \
         2> /dev/null
 
     if [ '0' -ne "$?" ]; then