Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: dependency ?


  • From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
  • To: TWENGER2(at)wi(dot)rr(dot)com
  • Cc: pgsql-general(at)postgresql(dot)org
  • Subject: Re: dependency ?
  • Date: Mon, 29 Jan 2007 15:37:14 -0500
  • Message-id: <19364(dot)1170103034(at)sss(dot)pgh(dot)pa(dot)us>

TWENGER2(at)wi(dot)rr(dot)com writes:
>   I was wondering if there is any way to use psql to list tables that
> are dependent to a specific table.  Instead of going through every table
> in my database and looking for foreign keys, can I somehow get an entire
> list of these dependent tables?  Any help would be much appreciated, thanks!

pg_depend might help, although I think it'd be a multi-step link.

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group