CLUSTERDB(1) PostgreSQL 18.6 CLUSTERDB(1) (NAME) clusterdb - PostgreSQL (SYNOPSIS) clusterdb [connection-option...] [option...] [ --table | -t table ]... [dbname | -a | --all] (DESCRIPTION) clusterdb PostgreSQL . (index) . . clusterdb (wrapper) CLUSTER(7) . . (OPTIONS) clusterdb : -a --all . [-d] dbname [--dbname=]dbname -a/--all . PGDATABASE . . dbname (connection string) . . -e --echo clusterdb . -q --quiet . -t table --table=table table. -t . -v --verbose . -V --version clusterdb . -? --help clusterdb . clusterdb : -h host --host=host . (Unix domain socket) . -p port --port=port TCP . -U username --username=username . -w --no-password . .pgpass . (batch jobs) . -W --password clusterdb . clusterdb . clusterdb . -W . --maintenance-db=dbname -a/--all . postgres template1 . . . . (ENVIRONMENT) PGDATABASE PGHOST PGPORT PGUSER PG_COLOR . always () auto () never (). PostgreSQL libpq ( 32.15 ). (DIAGNOSTICS) CLUSTER(7) psql(1) . . libpq . (EXAMPLES) test: $ clusterdb test foo xyzzy: $ clusterdb --table=foo xyzzy (SEE ALSO) CLUSTER(7) PostgreSQL 18.6 2026 CLUSTERDB(1)