= 0) ? " OFFSET $offset" : ''; $limitStr = ($nrows >= 0) ? " LIMIT $nrows" : ''; return $secs2cache ? $this->CacheExecute($secs2cache,$sql."$limitStr$offsetStr",$inputarr,$arg3) : $this->Execute($sql."$limitStr$offsetStr",$inputarr,$arg3); } // 10% speedup to move MoveNext to child class function MoveNext() { if (!$this->EOF) { $this->_currentRow++; $this->fields = @pg_fetch_array($this->_queryID,$this->_currentRow,$this->fetchMode); if (is_array($this->fields)) return true; } $this->EOF = true; return false; } } /*-------------------------------------------------------------------------------------- Class Name: Recordset --------------------------------------------------------------------------------------*/ class ADORecordSet_postgres7 extends ADORecordSet_postgres64{ var $databaseType = "postgres7"; function ADORecordSet_postgres7($queryID) { $this->ADORecordSet_postgres64($queryID); } } ?>