Re: [WIP PATCH v2] Implement "pg_restore --data-only --clean" as a way to skip WAL

From: Greg Sabino Mullane <htamfids(at)gmail(dot)com>
To: Dimitrios Apostolou <jimis(at)gmx(dot)net>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [WIP PATCH v2] Implement "pg_restore --data-only --clean" as a way to skip WAL
Date: 2025-06-13 01:42:20
Message-ID: CAKAnmmLKkTuB=vfyXMZx0EUWLaRkM-B0uvhS6P4kor3Jpdcjmw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I think the overall idea is sound. But we need a better solution for the
truncate fk failure. Can we introspect somehow and do a truncate or do a
delete as necessary? I don't like the idea of simply ignoring the
constraint, or of throwing an error.

--
Cheers,
Greg

--
Crunchy Data - https://www.crunchydata.com
Enterprise Postgres Software Products & Tech Support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Sabino Mullane 2025-06-13 01:53:13 Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bindx
Previous Message Greg Sabino Mullane 2025-06-13 01:36:11 Re: pg_dump --with-* options