Thread: how to view constraints (esp foreign keys) for table?

how to view constraints (esp foreign keys) for table?

From
Frank Miles
Date:
Hello all --

    Is there a convenient way to view the foreign key constraints
for a table from within psql?  Something along the lines of the \d_
commands is what I'm hoping to find...
    The only way I've seen so far is to examine the dumps with a
text editor, which is a bit messy.

TIA!

    -frank