added patch from raphaelpereira-AT-gmail.com to allow creation of the DB under Postgres again

This commit is contained in:
Ralf Becker 2005-09-06 10:14:43 +00:00
parent c0af40f45a
commit 7871067e98

View File

@ -711,7 +711,7 @@ WHERE c2.relname=\'%s\' or c2.relname=lower(\'%s\')';
if (!empty($this->_connectionID)) {
$this->_errorMsg = @pg_last_error($this->_connectionID);
} else $this->_errorMsg = @pg_last_error();
} else $this->_errorMsg = DB_ERROR_CONNECT_FAILED;
} else {
if (empty($this->_connectionID)) $this->_errorMsg = @pg_errormessage();
else $this->_errorMsg = @pg_errormessage($this->_connectionID);