Re: pg_dump restore error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gilles Darold <gilles(dot)darold(at)dalibo(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_dump restore error
Date: 2012-10-14 16:50:44
Message-ID: 26917.1350233444@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gilles Darold <gilles(dot)darold(at)dalibo(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2012-10-14 17:16:41 Re: Deprecating Hash Indexes
Previous Message Tom Lane 2012-10-14 16:47:47 Re: Deprecating Hash Indexes