pg_restore option --clean - Mailing list pgsql-hackers

From Fabrice Chapuis
Subject pg_restore option --clean
Date
Msg-id CAA5-nLDfH=sHJvcudAUKn8eG=EoC4rtemr8Z9OZUrJKP_jsfcw@mail.gmail.com
Whole thread Raw
List pgsql-hackers
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-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: Switching XLog source from archive to streaming when primary available
Next
From: Peter Eisentraut
Date:
Subject: Re: automating RangeTblEntry node support