Re: pg_dump restore error - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_dump restore error
Date
Msg-id 26917.1350233444@sss.pgh.pa.us
Whole thread Raw
In response to pg_dump restore error  (Gilles Darold <gilles.darold@dalibo.com>)
Responses Re: pg_dump restore error  (Gilles Darold <gilles.darold@dalibo.com>)
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Deprecating Hash Indexes
Next
From: Simon Riggs
Date:
Subject: Re: Deprecating Hash Indexes