diff options
author | sumau <soumaya.mauthoor@gmail.com> | 2019-10-28 15:22:08 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-10-30 10:50:44 -0400 |
commit | d36b1f7f03841b9b346a6fd3395dd29333dce588 (patch) | |
tree | 507f1cca6605dcb767074f0adfdf883fa2ace164 /lib/sqlalchemy/orm/base.py | |
parent | 12623517def001caa275c2af172405e336c731ab (diff) | |
download | sqlalchemy-d36b1f7f03841b9b346a6fd3395dd29333dce588.tar.gz |
Use simple growth scale with any max size for BufferedRowResultProxy
The maximum buffer size for the :class:`.BufferedRowResultProxy`, which
is used by dialects such as PostgreSQL when ``stream_results=True``, can
now be set to a number greater than 1000 and the buffer will grow to
that size. Previously, the buffer would not go beyond 1000 even if the
value were set larger. The growth of the buffer is also now based
on a simple multiplying factor currently set to 5. Pull request courtesy
Soumaya Mauthoor.
Fixes: #4914
Closes: #4930
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/4930
Pull-request-sha: 66841f56e967c784f7078a787cec5129462006c8
Change-Id: I6286220bd9d488027fadc444039421a410e19a19
Diffstat (limited to 'lib/sqlalchemy/orm/base.py')
0 files changed, 0 insertions, 0 deletions