Restoring tables with circular references dumped to separate files

From: doganmeh <mehmet(at)edgle(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Restoring tables with circular references dumped to separate files
Date: 2017-10-21 03:15:27
Message-ID: 1508555727791-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I was dumping each table to a separate file so I could pick and choose when
restoring. However, seems this was not a great idea, since two of my tables
happened to reference each other via FOREIGN KEYs, and I am not able to
restore them. Is there a way to do this without manually merging the dump
files? Thanks for guidance in advance.

--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Uwe 2017-10-21 06:09:30 Re: Restoring tables with circular references dumped to separate files
Previous Message Tom Lane 2017-10-21 00:38:33 Re: Weird performance difference