}
$fn = $this->convertToPG($bfn);
- $cmd = "$psql_cmd -f " . escapeshellarg($fn) . '2>&1' ;
+ $cmd = "$psql_cmd -f " . escapeshellarg($fn) . ' 2>&1' ;
echo "$bfn: $cmd ". ($this->cli ? "\n" : "<BR>\n");
*/
function convertToPG($src)
{
- $fn = $this->tempName('.sql');
+ $fn = $this->tempName('sql');
$ret = array( ); // pad it a bit.
$extra = array("", "" );