query to list all user tables and related constraints

Hi All;

anyone have a query that will list all user tables and their related
constraints

(i.e. for each table list any FK's for
and any tables/columns that reference the table)


Thanks in advance.


--
Sent via pgsql-admin mailing list (pgsql-admin [at] postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Kevin Kempter [ Fr, 22 Januar 2010 06:14 ] [ ID #2029566 ]
Datenbanken » gmane.comp.db.postgresql.admin » query to list all user tables and related constraints

Vorheriges Thema: Permission to postgres to another user's folder
Nächstes Thema: last insert/update for a table