revert error checking on pgsql restore

wikipedia dumps create expected errors on restore, fixes #142
This commit is contained in:
Sarah Hoffmann
2014-06-05 22:31:59 +02:00
parent 0ab547793d
commit 6a5b5b3c36
2 changed files with 1 additions and 9 deletions

View File

@@ -802,10 +802,6 @@
fclose($ahPipes[1]);
$iReturn = proc_close($hProcess);
if ($iReturn > 0)
{
fail("pgsql returned with error code ($iReturn)");
}
}
function pgsqlRunDropAndRestore($sDumpFile)
@@ -834,10 +830,6 @@
fclose($ahPipes[1]);
$iReturn = proc_close($hProcess);
if ($iReturn > 0)
{
fail("pgsql returned with error code ($iReturn)");
}
}
function passthruCheckReturn($cmd)