From bfea331a5e1b993d22071fc1696e6e8811d2d0d4 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Tue, 28 Aug 2018 21:42:45 +0900 Subject: Rework option set of vacuumlo Like oid2name, vacuumlo has been lacking consistency with other utilities for its options: - Connection options gain long aliases. - Document environment variables which could be used: PGHOST, PGPORT and PGUSER. Documentation and code is reordered to be more consistent. A basic set of TAP tests has been added while on it. Author: Tatsuro Yamada Reviewed-by: Michael Paquier Discussion: https://postgr.es/m/c7e7f25c-1747-cd0f-9335-390bc97b2db5@lab.ntt.co.jp --- doc/src/sgml/vacuumlo.sgml | 39 +++++++++++++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 4 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/vacuumlo.sgml b/doc/src/sgml/vacuumlo.sgml index 0b4dfc2b17a..0b57a77af41 100644 --- a/doc/src/sgml/vacuumlo.sgml +++ b/doc/src/sgml/vacuumlo.sgml @@ -55,7 +55,8 @@ - limit + + Remove no more than limit large objects per @@ -69,6 +70,7 @@ + Don't remove anything, just show what would be done. @@ -76,6 +78,7 @@ + Write a lot of progress messages. @@ -110,21 +113,24 @@ - hostname + + Database server's host. - port + + Database server's port. - username + + User name to connect as. @@ -146,6 +152,7 @@ + Force vacuumlo to prompt for a @@ -167,6 +174,30 @@ + + Environment + + + + PGHOST + PGPORT + PGUSER + + + + Default connection parameters. + + + + + + + This utility, like most other PostgreSQL utilities, + also uses the environment variables supported by libpq + (see ). + + + Notes -- cgit v1.2.3