E
E
er122014-12-11 15:06:10
PostgreSQL
er12, 2014-12-11 15:06:10

How to get a list of tables that depend on one particular table?

there is a table t. how to write a query to get all the tables that depend on it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris Benkovsky, 2014-12-11
@benbor

If dependent tables are bound by Foreign Key, then you need to get a list of these keys for the table: stackoverflow.com/questions/1152260/postgres-sql-t...
If dependent tables are defined only at the application logic level, then you need to look in the application.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question