Recently on a testing infrastructure, to restore multiple tables (via
copy command) I dropped all the foreign keys.
I have restored this database schema dump into a different database before dropping the FK.
Is there any way that I can generate the create FK from
I tried to get it from a dump file, but the
create table statement itself having the FK (not an Alter table statement).