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

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: vacuumlo: Use a cursor to limit client-side memory usage.
Дата
Msg-id E1Uyk8h-0007of-Ko@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: pgsql: Correct off-by-one when reading from pipe
Следующее
От: Stephen Frost
Дата:
Сообщение: pgsql: Clean up pg_basebackup libpq usage