From: | "Phoenix Kiula" <phoenix(dot)kiula(at)gmail(dot)com> |
---|---|
To: | "PG-General Mailing List" <pgsql-general(at)postgresql(dot)org> |
Subject: | Dumping/Restoring with constraints? |
Date: | 2008-08-27 13:19:24 |
Message-ID: | e373d31e0808270619uba31c8eodc2c85662b85140a@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general |
Hello. I have a database dump. With data and schema, which includes
all the constraints and rules. But it seems the pg_dumpall command
does not copy data in such a way that foreign keys are satisfied upon
restoring. Because tables are inter-related, importing them keep
giving errors and eventually no data is imported. Neither pg_dumpall
nor pg_restore seems to have a "without constraints" or "delay
constraints check" type command. What am I missing? Thanks for any
advice.
From | Date | Subject | |
---|---|---|---|
Next Message | Marco Bizzarri | 2008-08-27 13:27:48 | Re: [GENERAL] Dumping/Restoring with constraints? |
Previous Message | Michael Nolan | 2008-08-27 13:18:34 | Re: [GENERAL] PITR - base backup question |
From | Date | Subject | |
---|---|---|---|
Next Message | Marco Bizzarri | 2008-08-27 13:27:48 | Re: [GENERAL] Dumping/Restoring with constraints? |
Previous Message | Michael Nolan | 2008-08-27 13:18:34 | Re: [GENERAL] PITR - base backup question |