Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Popular entries12276
pg_dumpall --if-existsif-exists
Use DROP ... IF EXISTS commands to drop objects in --clean mode. This suppresses “does not exist” errors that might otherwise be reported. This option is not valid unless --clean i…
pg_dumpall --insertsinserts
Dump data as INSERT commands (rather than COPY). This will make restoration very slow; it is mainly useful for making dumps that can be loaded into non-PostgreSQL databases. Note tha…
pg_dumpall --load-via-partition-rootload-via-partition-root
When dumping data for a table partition, make the COPY or INSERT statements target the root of the partitioning hierarchy that contains it, rather than the partition …
pg_dumpall --lock-wait-timeout=timeoutlock-wait-timeout=timeout
Do not wait forever to acquire shared table locks at the beginning of the dump. Instead, fail if unable to lock a table within the specified timeout. The timeout ma…
pg_dumpall --no-aclx--no-privileges--no-acl
Prevent dumping of access privileges (grant/revoke commands).
pg_dumpall --no-commentsno-comments
Do not dump COMMENT commands.
pg_dumpall --no-datano-data
Do not dump data.
pg_dumpall --no-ownerO--no-owner
Do not output commands to set ownership of objects to match the original database. By default, pg_dumpall issues ALTER OWNER or SET SESSION AUTHORIZATION statements to set owners…
pg_dumpall --no-passwordw--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 wil…
pg_dumpall --no-policiesno-policies
Do not dump row security policies.
pg_dumpall --no-publicationsno-publications
Do not dump publications.
pg_dumpall --no-role-passwordsno-role-passwords
Do not dump passwords for roles. When restored, roles will have a null password, and password authentication will always fail until the password is set. Since password valu…
pg_dumpall --no-schemano-schema
Do not dump schema (data definitions).
pg_dumpall --no-security-labelsno-security-labels
Do not dump security labels.
pg_dumpall --no-statisticsno-statistics
Do not dump statistics. This is the default.
pg_dumpall --no-subscriptionsno-subscriptions
Do not dump subscriptions.
pg_dumpall --no-syncno-sync
By default, pg_dumpall will wait for all files to be written safely to disk. This option causes pg_dumpall to return without waiting, which is faster, but means that a subsequent ope…
pg_dumpall --no-table-access-methodno-table-access-method
Do not output commands to select table access methods. With this option, all objects will be created with whichever table access method is the default during restore.
pg_dumpall --no-tablespacesno-tablespaces
Do not output commands to create tablespaces nor select tablespaces for objects. With this option, all objects will be created in whichever tablespace is the default during re…
pg_dumpall --no-toast-compressionno-toast-compression
Do not output commands to set TOAST compression methods. With this option, all columns will be restored with the default compression setting.
pg_dumpall --no-unlogged-table-datano-unlogged-table-data
Do not dump the contents of unlogged tables. This option has no effect on whether or not the table definitions (schema) are dumped; it only suppresses dumping the tabl…
pg_dumpall --on-conflict-do-nothingon-conflict-do-nothing
Add ON CONFLICT DO NOTHING to INSERT commands. This option is not valid unless --inserts or --column-inserts is also specified.
pg_dumpall --passwordW--password
Force pg_dumpall to prompt for a password before connecting to a database. This option is never essential, since pg_dumpall will automatically prompt for a password if the server…
pg_dumpall --port=portp port--port=port
Specifies the TCP port or local Unix domain socket file extension on which the server is listening for connections. Defaults to the PGPORT environment variable, if set, or …
pg_dumpall --quote-all-identifiersquote-all-identifiers
Force quoting of all identifiers. This option is recommended when dumping a database from a server whose PostgreSQL major version is different from pg_dumpall's, or whe…
pg_dumpall --restrict-key=restrict_keyrestrict-key=restrict_key
Use the provided string as the psql \restrict key in the dump output. If no restrict key is specified, pg_dumpall will generate a random one as needed. Keys may con…
pg_dumpall --role=rolenamerole=rolename
Specifies a role name to be used to create the dump. This option causes pg_dumpall to issue a SET ROLE rolename command after connecting to the database. It is useful when the …
pg_dumpall --roles-onlyr--roles-only
Dump only roles, no databases or tablespaces.
pg_dumpall --rows-per-insert=nrowsrows-per-insert=nrows
Dump data as INSERT commands (rather than COPY). Controls the maximum number of rows per INSERT command. The value specified must be a number greater than zero. Any err…
pg_dumpall --schema-onlys--schema-only
Dump only the object definitions (schema), not data.
pg_dumpall --sequence-datasequence-data
Include sequence data in the dump. This is the default behavior except when --no-data, --schema-only, or --statistics-only is specified.
pg_dumpall --statisticsstatistics
Dump optimizer statistics.
pg_dumpall --statistics-onlystatistics-only
Dump only the statistics, not the schema (data definitions) or data. Optimizer statistics for tables, materialized views, foreign tables, and indexes are dumped.
pg_dumpall --superuser=usernameS username--superuser=username
Specify the superuser user name to use when disabling triggers. This is relevant only if --disable-triggers is used. (Usually, it's better to leave this out, a…
pg_dumpall --tablespaces-onlyt--tablespaces-only
Dump only tablespaces, no databases or roles.
pg_dumpall --use-set-session-authorizationuse-set-session-authorization
Output SQL-standard SET SESSION AUTHORIZATION commands instead of ALTER OWNER commands to determine object ownership. This makes the dump more standards compati…
pg_dumpall --username=usernameU username--username=username
User name to connect as.
pg_dumpall --verbosev--verbose
Specifies verbose mode. This will cause pg_dumpall to output start/stop times to the dump file, and progress messages to standard error. Repeating the option causes additional deb…
pg_dumpall --versionV--version
Print the pg_dumpall version and exit.
pg_durableSQL-native durable orchestrations for PostgreSQL
durable-execution workflow orchestration background-worker pgrx
pg_durable
Features
More results
Find definitions in the PostgreSQL manuals, reference library, and extension catalogue.
Searching every version by default. Manual pages are indexed for PostgreSQL 10–20; the reference library and extension catalogue are not version-bound.
all: every version pg17: one version ex: extensions only ↑↓ select ↵ open