[Zope-DB] Can I change the ZSQL max_rows default value?

Maciej Wisniowski maciej.wisniowski at coig.katowice.pl
Tue Feb 6 05:18:40 EST 2007


> We use Zope 2.8, still from ZMI. We ran into the 1000 limit several
> times. Instead of remembering to set it to a higher value, I would
> like to change the ZSQL max_rows default to 5000.
>
> Is it possible to do this?
A bit dirty hack but it is at:

lib/python/Shared/DC/ZRDB in class DA

If you want then you may modify 'max_rows' value there.

or override this in lib/Python/Products/ZSQLMethods

-- 
Maciej Wisniowski


More information about the Zope-DB mailing list