Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Category index802
dropdb --interactive-i--interactive
Issues a verification prompt before doing anything destructive.dropdb › Options
dropdb --maintenance-db=dbname--maintenance-db=dbname
Specifies the name of the database to connect to in order to drop the target database. If not specified, the postgres database will be used; if that does not exist (o…dropdb › Options
dropdb --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…dropdb › Options
dropdb --password-W--password
Force dropdb to prompt for a password before connecting to a database. This option is never essential, since dropdb will automatically prompt for a password if the server demand…dropdb › Options
dropdb --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.dropdb › Options
dropdb --username=username-U username--username=username
User name to connect as.dropdb › Options
dropdb --version-V--version
Print the dropdb version and exit.dropdb › Options
dropuserdropuser dropuser — remove a PostgreSQL user account
Synopsis dropuser [connection-option...] [option...] [username]dropuser
dropuser --echo-e--echo
Echo the commands that dropuser generates and sends to the server.dropuser › Options
dropuser --help-?--help
Show help about dropuser command line arguments, and exit.dropuser › Options
dropuser --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.dropuser › Options
dropuser --if-exists--if-exists
Do not throw an error if the user does not exist. A notice is issued in this case.dropuser › Options
dropuser --interactive-i--interactive
Prompt for confirmation before actually removing the user, and prompt for the user name if none is specified on the command line.dropuser › Options
dropuser --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…dropuser › Options
dropuser --password-W--password
Force dropuser to prompt for a password before connecting to a database. This option is never essential, since dropuser will automatically prompt for a password if the server de…dropuser › Options
dropuser --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.dropuser › Options
dropuser --username=username-U username--username=username
User name to connect as (not the user name to drop).dropuser › Options
dropuser --version-V--version
Print the dropuser version and exit.dropuser › Options
ecpgecpg ecpg — embedded SQL C preprocessor
Synopsis ecpg [option...] file...ecpg
ecpg --help-?--help
Show help about ecpg command line arguments, and exit.ecpg › Options
ecpg --version--version
Print the ecpg version and exit.ecpg › Options
ecpg -c-c
Automatically generate certain C code from SQL code. Currently, this works for EXEC SQL TYPE.ecpg › Options
ecpg -C mode-C mode
Set a compatibility mode. mode can be INFORMIX, INFORMIX_SE, or ORACLE.ecpg › Options
ecpg -D symbol[=value]-D symbol[=value]
Define a preprocessor symbol, equivalently to the EXEC SQL DEFINE directive. If no value is specified, the symbol is defined with the value 1.ecpg › Options
ecpg -h-h
Process header files. When this option is specified, the output file extension becomes .h not .c, and the default input file extension is .pgh not .pgc. Also, the -c option is forced on.ecpg › Options
ecpg -i-i
Parse system include files as well.ecpg › Options
ecpg -I directory-I directory
Specify an additional include path, used to find files included via EXEC SQL INCLUDE. Defaults are . (current directory), /usr/local/include, the PostgreSQL include directory wh…ecpg › Options
ecpg -o filename-o filename
Specifies that ecpg should write all its output to the given filename. Write -o - to send all output to standard output.ecpg › Options
ecpg -r option-r option
Selects run-time behavior. Option can be one of the following: no_indicator Do not use indicators but instead use special values to represent null values. Historically there have b…ecpg › Options
ecpg -t-t
Turn on autocommit of transactions. In this mode, each SQL command is automatically committed unless it is inside an explicit transaction block. In the default mode, commands are committe…ecpg › Options
ecpg -v-v
Print additional information including the version and the "include" path.ecpg › Options
ecpg no_indicatorno_indicator
Do not use indicators but instead use special values to represent null values. Historically there have been databases using this approach.ecpg › Options
ecpg prepareprepare
Prepare all statements before using them. Libecpg will keep a cache of prepared statements and reuse a statement if it gets executed again. If the cache runs full, libecpg will free …ecpg › Options
ecpg questionmarksquestionmarks
Allow question mark as placeholder for compatibility reasons. This used to be the default long ago.ecpg › Options
fallback_application_namefallback_application_name
Specifies a fallback value for the application_name configuration parameter. This value will be used if no value has been given for application_name via a connectio…Database Connection Control Functions › Parameter Key Words
fillfactorfillfactor (integer)
The fillfactor for a table is a percentage between 10 and 100. 100 (complete packing) is the default. When a smaller fillfactor is specified, INSERT operations pack tabl…CREATE TABLE › Parameters › Storage Parameters
gssdelegationgssdelegation
Forward (delegate) GSS credentials to the server. The default is 0 which means credentials will not be forwarded to the server. Set this to 1 to have credentials forwarded when…Database Connection Control Functions › Parameter Key Words
gssencmodegssencmode
This option determines whether or with what priority a secure GSS TCP/IP connection will be negotiated with the server. There are three modes: disable only try a non-GSSAPI-encryp…Database Connection Control Functions › Parameter Key Words
gsslibgsslib
GSS library to use for GSSAPI authentication. Currently this is disregarded except on Windows builds that include both GSSAPI and SSPI support. In that case, set this to gssapi to cau…Database Connection Control Functions › Parameter Key Words
hosthost
Name of host to connect to. If a host name looks like an absolute path name, it specifies Unix-domain communication rather than TCP/IP communication; the value is the name of the direct…Database Connection Control Functions › Parameter Key Words
More results
Find definitions in the PostgreSQL manuals, reference library, and extension catalogue.
pg17: choose a version ex: extensions only ↑↓ select ↵ open