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

From Greg Sabino Mullane
Subject Re: [WIP PATCH v2] Implement "pg_restore --data-only --clean" as a way to skip WAL
Date
Msg-id CAKAnmmLKkTuB=vfyXMZx0EUWLaRkM-B0uvhS6P4kor3Jpdcjmw@mail.gmail.com
Whole thread Raw
In response to [WIP PATCH v2] Implement "pg_restore --data-only --clean" as a way to skip WAL  (Dimitrios Apostolou <jimis@gmx.net>)
List 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

--
Enterprise Postgres Software Products & Tech Support

pgsql-hackers by date:

Previous
From: Xuneng Zhou
Date:
Subject: Re: Add progressive backoff to XactLockTableWait functions
Next
From: Greg Sabino Mullane
Date:
Subject: Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bindx