Gilles Darold <gilles.darold@dalibo.com> writes:
> Restoring a backup generated with pg_dump/pg_dumpall in plain text
> format and the --clean option will report errors if the backup is loaded
> in an other or empty database.
This is intentional. What you propose amounts to a fundamental change
in the semantics of --clean, and I don't think that it's really much
of an improvement.
regards, tom lane