in reply to Re^2: DBI:to sort tables according to their dependencies
in thread DBI:to sort tables according to their dependencies
I'm sure you can search the WWW. "postgres list foreign keys" proved successful for me. (I'm not allowed to link to external sites as anonymous)
Furthermore, you can run psql -E and use the backslash-functions (e.g. \d) and watch the SQL it issues to figure out what fetches the foreign keys.
|
|---|