public inbox for [email protected]
help / color / mirror / Atom feedFrom: PG Doc comments form <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: psql 9.* pg_restore --clean exits 1 when table does not exist
Date: Wed, 07 Mar 2018 16:47:49 +0000
Message-ID: <[email protected]> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/9.6/static/app-pgrestore.html
Description:
Using pg_restore with the --clean flag without the --if-exists flag and
objects are not present in the destination database results in exit status
1. The documentation states that --if-exists suppresses "some harmless error
messages" but it also changes the exit status to 0. A non-zero exit status
does not seem to be harmless.
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: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: psql 9.* pg_restore --clean exits 1 when table does not exist
In-Reply-To: <[email protected]>
* 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