470,647 Members | 1,248 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,647 developers. It's quick & easy.

How do I find what views depend on a particular table?


I've found the pg_depend table, but it doesn't appear to include this info.
(Or am I missing it?)

I'm looking to get all view names that I need to drop to allow a particular
table to DROP RESTRICT.

Alternately, I would be happy with a way to get the names of objects that
are dropped when DROP CASCADE is used.
-------------------------------------------
justin tocci
Fort Wayne, IN

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 11 '05 #1
0 1284

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Mike N. | last post: by
3 posts views Thread by dbtoo_dbtoo | last post: by
3 posts views Thread by Bob Stearns | last post: by
7 posts views Thread by solidsna2 | last post: by
6 posts views Thread by Jim Devenish | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.