REINDEXDB(1) PostgreSQL 18.6 Documentation REINDEXDB(1) (NAME) reindexdb - PostgreSQL (SYNOPSIS) reindexdb [connection-option...] [option...] [ -S | --schema schema ]... [ -t | --table table ]... [ -i | --index index ]... [ -s | --system ] [dbname | -a | --all] (DESCRIPTION) reindexdb (indexes) PostgreSQL . reindexdb REINDEX . . (OPTIONS) reindexdb : -a --all . --concurrently CONCURRENTLY. REINDEX(7) . [-d] dbname [--dbname=]dbname -a/--all . PGDATABASE . . dbname (connection string) . . -e --echo reindexdb . -i index --index=index index. -i . -j njobs --jobs=njobs njobs . . reindexdb njobs max_connections . --system . -q --quiet . -s --system . -S schema --schema=schema schema. -S . -t table --table=table table. -t . --tablespace=tablespace tablespace . ( .) -v --verbose . -V --version reindexdb . -? --help reindexdb . reindexdb : -h host --host=host . (Unix domain socket) . -p port --port=port TCP . -U username --username=username . -w --no-password . .pgpass . (batch jobs) . -W --password reindexdb . reindexdb . reindexdb . -W . --maintenance-db=dbname -a/--all . postgres template1 . (connection string) . . . (ENVIRONMENT) PGDATABASE PGHOST PGPORT PGUSER PG_COLOR . always auto never. PostgreSQL libpq ( 32.15 ). (DIAGNOSTICS) REINDEX(7) psql(1) . . libpq . (EXAMPLES) test: $ reindexdb test foo bar abcd: $ reindexdb --table=foo --index=bar abcd (SEE ALSO) REINDEX(7) PostgreSQL 18.6 2026 REINDEXDB(1)