Fwd: pg_restore option --clean

From: Fabrice Chapuis <fabrice636861(at)gmail(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Fwd: pg_restore option --clean
Date: 2024-02-21 09:17:40
Message-ID: CAA5-nLBotUBw2eoK+_-O4P5NTDNHoYzkOgntJHv5=G7dtG0Vdw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin 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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message M Sarwar 2024-02-21 11:47:29 Re: pg_restore option --clean
Previous Message Vijaykumar Jain 2024-02-21 08:25:24 Re: Wraparound

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2024-02-21 09:22:00 Re: logical decoding and replication of sequences, take 2
Previous Message Dilip Kumar 2024-02-21 09:13:01 Re: logical decoding and replication of sequences, take 2