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

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: vacuumlo: Use a cursor to limit client-side memory usage.
Date: 2013-07-15 14:52:35
Message-ID: E1Uyk8h-0007of-Ko@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Stephen Frost 2013-07-15 15:34:02 pgsql: Clean up pg_basebackup libpq usage
Previous Message Stephen Frost 2013-07-15 14:49:23 pgsql: Correct off-by-one when reading from pipe