agora inbox for pgsql-docs@postgresql.org
help / color / mirror / Atom feedFrom: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: jevelyn@panoramaed.com
Subject: pg_dump/pg_restore exit status codes
Date: Mon, 10 Mar 2025 17:24:54 +0000
Message-ID: <174162749498.682.17125900991292491906@wrigleys.postgresql.org> (raw)
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.
Message-ID: <174162749498.682.17125900991292491906@wrigleys.postgresql.org>
Permalink: ../174162749498.682.17125900991292491906@wrigleys.postgresql.org/
Also on: postgresql.org/message-id/174162749498.682.17125900991292491906@wrigleys.postgresql.org
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, jevelyn@panoramaed.com
Subject: Re: pg_dump/pg_restore exit status codes
In-Reply-To: <174162749498.682.17125900991292491906@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox