Обсуждение: pgsql: vacuumlo: Use a cursor to limit client-side memory usage.

Поиск
Список
Период
Сортировка

pgsql: vacuumlo: Use a cursor to limit client-side memory usage.

От
Robert Haas
Дата:
vacuumlo: Use a cursor to limit client-side memory usage.

This prevents the client from gobbling up too much memory when the
number of large objects to be removed is very large.

Andrew Dunstan, reviewed by Josh Kupershmidt

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/67ccbb080d87a5379dffc1cdff046c4caf534a6c

Modified Files
--------------
contrib/vacuumlo/vacuumlo.c |  111 +++++++++++++++++++++++++++----------------
1 file changed, 69 insertions(+), 42 deletions(-)