Windows Powershell

Started by PG Bug reporting formover 5 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/13/app-pgdump.html
Description:

To dump a database into a custom-format archive file:
$ pg_dump -Fc mydb > db.dump

There should be a warning here stating that (or similar): Windows Powershell
alters binary data on redirect, and hence corrupt the archive. For Windows
Powershell, the -f option should be used.