irm-1.6-b3/MDB/pgsql.php
/**
     * Close the database connection
     *
     * @return boolean
     * @access private
     **/
Close the database connection
@return boolean
@access private
Close the database connection @return boolean @access private
function _close()
    {
        if ($this->connection != 0) {
            if (!$this->auto_commit) {
                $this->_doQuery('END');
            }
            @pg_close($this->connection);
            $this->connection = 0;
            $this->affected_rows = -1;
            unset($GLOBALS['_MDB_databases'][$this->database]);
            return(MDB_OK);
        }
        return(MDB_ERROR);
    }
function _close ( ) { if ( $ this -> connection != 0 ) { if ( ! $ this -> auto_commit ) { $ this -> _doQuery ( 'END' ) ; } @ pg_close ( $ this -> connection ) ; $ this -> connection = 0 ; $ this -> affected_rows = - 1 ; unset ( $ GLOBALS [ '_MDB_databases' ] [ $ this -> database ] ) ; return ( MDB_OK ) ; } return ( MDB_ERROR ) ; }
Close the database connection
 @return boolean
 @access private
Close the database connection @return boolean @access private