When I do a pg_dump, (--data-only), PG7 used to dump the data out in order, so that all foreign-key checks worked correctly when loading the data back in. Now it seems with PG8 it's dumping it completely out of order (one of my completely foreign-key join tables first!) - and I can't get it to dump in the correct order. Anyone know a solution to this, to get a data dump to export in a correct order so that foreign-key checks will work when loading that data in again? ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your message can get through to the mailing list cleanly