II. Postgres Pro Client Applications


This part contains reference information for Postgres Pro client applications and utilities. Not all of these commands are of general utility; some might require special privileges. The common feature of these applications is that they can be run on any host, independent of where the database server resides.

When specified on the command line, user and database names have their case preserved — the presence of spaces or special characters might require quoting. Table names and other identifiers do not have their case preserved, except where documented, and might require quoting.

Table of Contents

clusterdb — cluster a Postgres Pro database
createdb — create a new Postgres Pro database
createlang — install a Postgres Pro procedural language
createuser — define a new Postgres Pro user account
dropdb — remove a Postgres Pro database
droplang — remove a Postgres Pro procedural language
dropuser — remove a Postgres Pro user account
ecpg — embedded SQL C preprocessor
pg_basebackup — take a base backup of a Postgres Pro cluster
pgbench — run a benchmark test on Postgres Pro
pg_config — retrieve information about the installed version of Postgres Pro
pg_dump — extract a Postgres Pro database into a script file or other archive file
pg_dumpall — extract a Postgres Pro database cluster into a script file
pg_isready — check the connection status of a Postgres Pro server
pg_receivexlog — stream transaction logs from a Postgres Pro server
pg_recvlogical — control Postgres Pro logical decoding streams
pg_restore — restore a Postgres Pro database from an archive file created by pg_dump
psqlPostgres Pro interactive terminal
reindexdb — reindex a Postgres Pro database
vacuumdb — garbage-collect and analyze a Postgres Pro database