irm-1.6-b3/MDB/pgsql.php
/**
     * Execute a query
     * @param string $query the SQL query
     * @return mixed result identifier if query executed, else MDB_error
     * @access private
     **/
Execute a query
@param string $query the SQL query
@return mixed result identifier if query executed, else MDB_error
@access private
Execute a query @param string $query the SQL query @return mixed result identifier if query executed else MDB_error @access private
function _doQuery($query)
    {
        if (($result = @pg_Exec($this->connection, $query))) {
            $this->affected_rows = (isset($this->supported['AffectedRows']) ? @pg_cmdtuples($result) : -1);
        } else {
            $error = @pg_errormessage($this->connection);
            return($this->pgsqlRaiseError());
        }
        return($result);
    }
function _doQuery ( $ query ) { if ( ( $ result = @ pg_Exec ( $ this -> connection , $ query ) ) ) { $ this -> affected_rows = ( isset ( $ this -> supported [ 'AffectedRows' ] ) ? @ pg_cmdtuples ( $ result ) : - 1 ) ; } else { $ error = @ pg_errormessage ( $ this -> connection ) ; return ( $ this -> pgsqlRaiseError ( ) ) ; } return ( $ result ) ; }
Execute a query
 @param string $query the SQL query
 @return mixed result identifier if query executed, else MDB_error
 @access private
Execute a query @param string $query the SQL query @return mixed result identifier if query executed else MDB_error @access private