diff options
author | Robert Haas <rhaas@postgresql.org> | 2011-08-08 09:12:16 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2011-08-08 09:16:45 -0400 |
commit | b69f2e36402aaa222ed03c1769b3de6d5be5f302 (patch) | |
tree | e9162b34693e3499d14e6234593ba2d1c99b67c3 /doc/src | |
parent | f54e373d93f72d87ce2cafd7373bd7b0534b2065 (diff) | |
download | postgresql-b69f2e36402aaa222ed03c1769b3de6d5be5f302.tar.gz postgresql-b69f2e36402aaa222ed03c1769b3de6d5be5f302.zip |
Teach vacuumlo to limit number of removals, via new -l option.
Also, handle failure better: don't just blindly keep trying to delete
stuff after the transaction has already failed.
Tim Lewis, reviewed by Josh Kupershmidt, with further hacking by me.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/vacuumlo.sgml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/src/sgml/vacuumlo.sgml b/doc/src/sgml/vacuumlo.sgml index 471a6ca32be..0ae39c71d2c 100644 --- a/doc/src/sgml/vacuumlo.sgml +++ b/doc/src/sgml/vacuumlo.sgml @@ -57,6 +57,16 @@ vacuumlo [options] database [database2 ... databaseN] </varlistentry> <varlistentry> + <term><option>-l</option> <replaceable>limit</></term> + <listitem> + <para> + Stop after removing LIMIT large objects. Useful to avoid + exceeding <xref linkend="guc-max-locks-per-transaction">. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><option>-w</></term> <term><option>--no-password</></term> <listitem> |