Andre Lopes <[email protected]> writes:
> I have generated the CREATE statements using a modeling tool, and I have
> created another database to test the changes. My problem is the order of the
> INSERT statements generated by PG_DUMP [-a -d], causing errors because of
> the order of the INSERTS.
If you are talking about foreign key constraint failures, the best way
is to use a regular dump (not -a). pg_dump will order the data and
constraint creations properly then.
regards, tom lane
--
Sent via pgsql-general mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general