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

Robert Haas <rhaas@postgresql.org>

Commit: 67ccbb080d87a5379dffc1cdff046c4caf534a6c
Author: Robert Haas <rhaas@postgresql.org>
Date: 2013-07-15T14:51:27Z
Releases: 9.4.0
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

Files

PathChange+/−
contrib/vacuumlo/vacuumlo.c modified +69 −42