Lines 155-161
Link Here
|
155 |
return 0; |
155 |
return 0; |
156 |
} |
156 |
} |
157 |
else if ( $this->driver == "pgsql") { |
157 |
else if ( $this->driver == "pgsql") { |
158 |
$dbsize = $this->link->query("select pg_database_size('$this->dbs_name')") |
158 |
$dbsize = $this->link->query("select database_size('$this->dbs_name')") |
159 |
or die ("classes.inc: Error query: 4"); |
159 |
or die ("classes.inc: Error query: 4"); |
160 |
if (PEAR::isError($dbsize)) |
160 |
if (PEAR::isError($dbsize)) |
161 |
die($dbsize->getMessage()); |
161 |
die($dbsize->getMessage()); |