manual entry pg_restore

Started by PG Bug reporting formover 3 years ago1 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/15/app-pgrestore.html
Description:

the manual entry for pg_restore can easily be misinterpreted for the -f
option

-f filename
--file=filename
Specify output file for generated script, or for the listing when
used with -l. Use - for stdout.

This should include a comment that -f does not address the dumpfile to be
restored

-f filename
--file=filename

Specify output file for generated script, or for the listing when
used with -l. Use - for stdout. This is not to addresse the dump file you
want to restore.

best regards
Gunnar