SQL-Dump and refertial Integrity

From: Thomas Woehlke <Thomas(dot)Woehlke(at)ESC-Electronics(dot)de>
To:
Cc: pgsql-novice(at)postgresql(dot)org
Subject: SQL-Dump and refertial Integrity
Date: 2002-04-15 13:11:50
Message-ID: 3CBAD196.B64848F0@ESC-Electronics.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi @All!

I have a problem on dumping a database:

If I export the Structure via pg_dump
the table are dumped in alphabetical order, but the order violates
the refenrential integrity of my db.

At inserting it via psql db < db_structure.sql it throws errors and the
database is not not correctly build on the other server. Tables are
missing.

Are there any known solutions or a workaround?

I would greatly appreciate receiving an helping answer even if this
question is very newbie-like.

Thank You

Thomas

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Rob 2002-04-15 14:04:10 Referential Integrity
Previous Message Joshua b. Jore 2002-04-15 13:09:26 Re: Referential Integrity