irm-1.6-b3/MDB/Modules/Manager/pgsql.php
/**
     * list the views in the database
     *
     * @param object    $db        database object that is extended by this class
     * @return mixed MDB_OK on success, a MDB error on failure
     * @access public
     **/
list the views in the database
@param object    $db        database object that is extended by this class
@return mixed MDB_OK on success, a MDB error on failure
@access public
list the views in the database @param object $db database object that is extended by this class @return mixed MDB_OK on success a MDB error on failure @access public
function listViews(&$db)
    {
        return($db->queryCol('SELECT viewname FROM pg_views'));
    }
function listViews ( & $ db ) { return ( $ db -> queryCol ( 'SELECT viewname FROM pg_views' ) ) ; }
list the views in the database
 @param object    $db        database object that is extended by this class
 @return mixed MDB_OK on success, a MDB error on failure
 @access public
list the views in the database @param object $db database object that is extended by this class @return mixed MDB_OK on success a MDB error on failure @access public
// gratuitously stolen from PEAR DB _getSpecialQuery in pgsql.php