The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/17/app-pgdump.html
Description:

From the documentation, it's unclear to me whether `pg_dump`/`pg_restore`
CLI commands ever use non-zero exit status codes, and if so when. My
assumption is that the status code is only zero when the command completes
successfully without any errors or warnings (regardless of whether
`--exit-on-error` was used), but I don't know if this is true. I also don't
know whether there are multiple non-zero exit status codes it may generate
in different scenarios. Clarification here would be very helpful! Thanks so
much.

Reply via email to