* A class that implements the DB interface for Postgres
* Note: This class uses ADODB and returns RecordSets.
*
- * $Id: Postgres.php,v 1.272 2005/08/12 01:39:26 chriskl Exp $
+ * $Id: Postgres.php,v 1.273 2005/08/15 17:15:36 xzilla Exp $
*/
// @@@ THOUGHT: What about inherits? ie. use of ONLY???
function hasUserAndDbVariables() { return false; }
function hasCompositeTypes() { return false; }
function hasReadOnlyQueries() { return false; }
+ function hasFuncPrivs() { return false; }
}
* A class that implements the DB interface for Postgres
* Note: This class uses ADODB and returns RecordSets.
*
- * $Id: Postgres73.php,v 1.149 2005/07/31 09:15:07 chriskl Exp $
+ * $Id: Postgres73.php,v 1.150 2005/08/15 17:15:36 xzilla Exp $
*/
// @@@ THOUGHT: What about inherits? ie. use of ONLY???
function hasViewColumnRename() { return true; }
function hasUserAndDbVariables() { return true; }
function hasCompositeTypes() { return true; }
+ function hasFuncPrivs() { return true; }
+
}
?>
/**
* Manage functions in a database
*
- * $Id: functions.php,v 1.48 2005/05/02 15:47:23 chriskl Exp $
+ * $Id: functions.php,v 1.49 2005/08/15 17:15:36 xzilla Exp $
*/
// Include application functions
'vars' => array('function' => 'proproto', 'function_oid' => 'prooid'),
),
);
+
+ if ( !$data->hasFuncPrivs() ) {
+ unset($actions['privileges']);
+ }
$misc->printTable($funcs, $columns, $actions, $lang['strnofunctions']);