public static function enabled($feature = null)
{
if (!$feature) {
return extension_loaded('pdo_pgsql');
}
$features = array('arrays' => false, 'transactions' => true, 'booleans' => true, 'schema' => true, 'relationships' => true, 'sources' => true);
return isset($features[$feature]) ? $features[$feature] : null;
}