irm-1.6-b3/MDB/Modules/Manager/pgsql.php
/**
     * list all indexes in a table
     *
     * @param object    $db        database object that is extended by this class
     * @param string    $table      name of table that should be used in method
     * @return mixed data array on success, a MDB error on failure
     * @access public
     */
list all indexes in a table
@param object    $db        database object that is extended by this class
@param string    $table      name of table that should be used in method
@return mixed data array on success, a MDB error on failure
@access public
list all indexes in a table @param object $db database object that is extended by this class @param string $table name of table that should be used in method @return mixed data array on success a MDB error on failure @access public
function listTableIndexes(&$db, $table) {
        $result = $db->query("SELECT relname 
                                FROM pg_class WHERE oid IN
                                  (SELECR indexrelid FROM pg_index, pg_class 
                                   WHERE (pg_class.relname='$table') 
                                   AND (pg_class.oid=pg_index.indrelid))");
        return $db->fetchCol($result);
    }
function listTableIndexes ( & $ db , $ table ) { $ result = $ db -> query ( " SELECT relname 
                                FROM pg_class WHERE oid IN
                                  (SELECR indexrelid FROM pg_index, pg_class 
                                   WHERE (pg_class.relname=' $ table ') 
                                   AND (pg_class.oid=pg_index.indrelid)) " ) ; return $ db -> fetchCol ( $ result ) ; }
list all indexes in a table
 @param object    $db        database object that is extended by this class
 @param string    $table      name of table that should be used in method
 @return mixed data array on success, a MDB error on failure
 @access public
list all indexes in a table @param object $db database object that is extended by this class @param string $table name of table that should be used in method @return mixed data array on success a MDB error on failure @access public