Explorar el Código

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

the -d parameter was removed in pgsql 8.4

Signed-off-by: Yonathan Dossow <[email protected]>
Yonathan Dossow hace 13 años
padre
commit
104bfc2277
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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