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

From Robert Haas
Subject pgsql: vacuumlo: Use a cursor to limit client-side memory usage.
Date
Msg-id E1Uyk8h-0007of-Ko@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Stephen Frost
Date:
Subject: pgsql: Correct off-by-one when reading from pipe
Next
From: Stephen Frost
Date:
Subject: pgsql: Clean up pg_basebackup libpq usage