diff options
author | Massimiliano Arione | 2016-04-11 13:52:46 +0000 |
---|---|---|
committer | Robert Treat | 2016-08-12 04:24:04 +0000 |
commit | c7c6beb7d9f98ff50c0efa3911f1a2d86a5eed95 (patch) | |
tree | f85c1f1ad732b2dddd0e2afd37b5f15b896b9e92 | |
parent | 66d0265c316319f27f647def9543a0cb0206ae01 (diff) |
Remove "-i" flag from pg_dump
With Postgres 9.5 (that is default on new Ubuntu LTS, so likely to spread soon) the `-i` option is causing an error, since it has been removed.
Anyway, such option has been deprecated since Postgres 8.4 (so about 6 years ago)
-rw-r--r-- | dbexport.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbexport.php b/dbexport.php index de241fba..d7320817 100644 --- a/dbexport.php +++ b/dbexport.php @@ -72,8 +72,8 @@ putenv('PGPORT=' . $port); } - // Build command for executing pg_dump. '-i' means ignore version differences. - $cmd = $exe . " -i"; + // Build command for executing pg_dump. + $cmd = $exe; // we are PG 7.4+, so we always have a schema if (isset($_REQUEST['schema'])) { |