From c7c6beb7d9f98ff50c0efa3911f1a2d86a5eed95 Mon Sep 17 00:00:00 2001 From: Massimiliano Arione Date: Mon, 11 Apr 2016 15:52:46 +0200 Subject: [PATCH] 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) --- dbexport.php | 4 ++-- 1 file 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'])) { -- 2.39.5