Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Category index802
pg_dumppg_dump pg_dump — export a PostgreSQL database as an SQL script or to other formats
Synopsis pg_dump [connection-option...] [option...] [dbname]pg_dump
application_nameapplication_name
Specifies a value for the application_name configuration parameter.Database Connection Control Functions › Parameter Key Words
channel_bindingchannel_binding
This option controls the client's use of channel binding. A setting of require means that the connection must employ channel binding, prefer means that the client will choose…Database Connection Control Functions › Parameter Key Words
client_encodingclient_encoding
This sets the client_encoding configuration parameter for this connection. In addition to the values accepted by the corresponding server option, you can use auto to determin…Database Connection Control Functions › Parameter Key Words
clusterdbclusterdb clusterdb — cluster a PostgreSQL database
Synopsis clusterdb [connection-option...] [option...] [ --table | -t table ] ... [ dbname | -a | --all ]clusterdb
clusterdb --all-a--all
Cluster all databases.clusterdb › Options
clusterdb --echo-e--echo
Echo the commands that clusterdb generates and sends to the server.clusterdb › Options
clusterdb --help-?--help
Show help about clusterdb command line arguments, and exit.clusterdb › Options
clusterdb --host=host-h host--host=host
Specifies the host name of the machine on which the server is running. If the value begins with a slash, it is used as the directory for the Unix domain socket.clusterdb › Options
clusterdb --maintenance-db=dbname--maintenance-db=dbname
When the -a/--all is used, connect to this database to gather the list of databases to cluster. If not specified, the postgres database will be used, or if that does …clusterdb › Options
clusterdb --no-password-w--no-password
Never issue a password prompt. If the server requires password authentication and a password is not available by other means such as a .pgpass file, the connection attempt wi…clusterdb › Options
clusterdb --password-W--password
Force clusterdb to prompt for a password before connecting to a database. This option is never essential, since clusterdb will automatically prompt for a password if the server …clusterdb › Options
clusterdb --port=port-p port--port=port
Specifies the TCP port or local Unix domain socket file extension on which the server is listening for connections.clusterdb › Options
clusterdb --quiet-q--quiet
Do not display progress messages.clusterdb › Options
clusterdb --table=table-t table--table=table
Cluster table only. Multiple tables can be clustered by writing multiple -t switches.clusterdb › Options
clusterdb --username=username-U username--username=username
User name to connect as.clusterdb › Options
clusterdb --verbose-v--verbose
Print detailed information during processing.clusterdb › Options
clusterdb --version-V--version
Print the clusterdb version and exit.clusterdb › Options
clusterdb [--dbname=]dbname[-d] dbname[--dbname=]dbname
Specifies the name of the database to be clustered, when -a/--all is not used. If this is not specified, the database name is read from the environment variable …clusterdb › Options
connect_timeoutconnect_timeout
Maximum time to wait while connecting, in seconds (write as a decimal integer, e.g., 10). Zero, negative, or not specified means wait indefinitely. This timeout applies separ…Database Connection Control Functions › Parameter Key Words
createdbcreatedb createdb — create a new PostgreSQL database
Synopsis createdb [connection-option...] [option...] [dbname [description]]createdb
createdb --builtin-locale=locale--builtin-locale=locale
Specifies the locale name when the builtin provider is used. Locale support is described in Section 23.1.createdb › Options
createdb --echo-e--echo
Echo the commands that createdb generates and sends to the server.createdb › Options
createdb --encoding=encoding-E encoding--encoding=encoding
Specifies the character encoding scheme to be used in this database. The character sets supported by the PostgreSQL server are described in Section 23.3.1.createdb › Options
createdb --help-?--help
Show help about createdb command line arguments, and exit.createdb › Options
createdb --host=host-h host--host=host
Specifies the host name of the machine on which the server is running. If the value begins with a slash, it is used as the directory for the Unix domain socket.createdb › Options
createdb --icu-locale=locale--icu-locale=locale
Specifies the ICU locale ID to be used in this database, if the ICU locale provider is selected.createdb › Options
createdb --icu-rules=rules--icu-rules=rules
Specifies additional collation rules to customize the behavior of the default collation of this database. This is supported for ICU only.createdb › Options
createdb --lc-collate=locale--lc-collate=locale
Specifies the LC_COLLATE setting to be used in this database.createdb › Options
createdb --lc-ctype=locale--lc-ctype=locale
Specifies the LC_CTYPE setting to be used in this database.createdb › Options
createdb --locale-provider={builtin|libc|icu}--locale-provider={builtin|libc|icu}
Specifies the locale provider for the database's default collation.createdb › Options
createdb --locale=locale-l locale--locale=locale
Specifies the locale to be used in this database. This is equivalent to specifying --lc-collate, --lc-ctype, and --icu-locale to the same value. Some locales are onl…createdb › Options
createdb --maintenance-db=dbname--maintenance-db=dbname
Specifies the name of the database to connect to when creating the new database. If not specified, the postgres database will be used; if that does not exist (or if i…createdb › Options
createdb --no-password-w--no-password
Never issue a password prompt. If the server requires password authentication and a password is not available by other means such as a .pgpass file, the connection attempt wi…createdb › Options
createdb --owner=owner-O owner--owner=owner
Specifies the database user who will own the new database. (This name is processed as a double-quoted identifier.)createdb › Options
createdb --password-W--password
Force createdb to prompt for a password before connecting to a database. This option is never essential, since createdb will automatically prompt for a password if the server de…createdb › Options
createdb --port=port-p port--port=port
Specifies the TCP port or the local Unix domain socket file extension on which the server is listening for connections.createdb › Options
createdb --strategy=strategy-S strategy--strategy=strategy
Specifies the database creation strategy. See CREATE DATABASE STRATEGY for more details.createdb › Options
createdb --tablespace=tablespace-D tablespace--tablespace=tablespace
Specifies the default tablespace for the database. (This name is processed as a double-quoted identifier.)createdb › Options
createdb --template=template-T template--template=template
Specifies the template database from which to build this database. (This name is processed as a double-quoted identifier.)createdb › Options
More results
Find definitions in the PostgreSQL manuals, reference library, and extension catalogue.
pg17: choose a version ex: extensions only ↑↓ select ↵ open