Fwd: pg_restore option --clean - Mailing list pgsql-admin

From Fabrice Chapuis
Subject Fwd: pg_restore option --clean
Date
Msg-id CAA5-nLBotUBw2eoK+_-O4P5NTDNHoYzkOgntJHv5=G7dtG0Vdw@mail.gmail.com
Whole thread Raw
Responses Re: pg_restore option --clean
List pgsql-admin


Hi,
The --clean option of pg_restore allows you to replace an object before being imported. However, dependencies such as foreign keys or views prevent the deletion of the object. Is there a way to add the cascade option to force the deletion?
Thanks for helping
Fabrice

pgsql-admin by date:

Previous
From: Vijaykumar Jain
Date:
Subject: Re: Wraparound
Next
From: M Sarwar
Date:
Subject: Re: pg_restore option --clean