Re: pg_restore - problems restoring the data

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Arindam <arindam(dot)mukerjee(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_restore - problems restoring the data
Date: 2007-02-16 14:28:36
Message-ID: 20217.1171636116@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Arindam <arindam(dot)mukerjee(at)gmail(dot)com> writes:
> In all the above cases, this is the error I get:

> pg_restore: [archiver (db)] could not execute query: ERROR: cannot
> drop schema public because other objects depend on it
> HINT: Use DROP ... CASCADE to drop the dependent objects too.
> Command was: DROP SCHEMA public;

Don't use the -c option. Or else don't load your private additions
until after you restore.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2007-02-16 14:45:19 Re: Is it possible to compress a table any further?
Previous Message Tomas Vondra 2007-02-16 14:12:55 up-to-date docs on vacuum