You are here

function dba_pgsql_report_variables in Database Administration 7

Variables.

File

database/pgsql.report.inc, line 55

Code

function dba_pgsql_report_variables($data) {
  $variables = new stdClass();
  $query = db_query('SHOW ALL');
  foreach ($query as $row) {
    $name = $row->name;
    $variables->{$name} = $row->setting;
  }
  return $variables;
}