Forum OpenACS Q&A: View Postgres table constraints

Collapse
Posted by Clara schroeder on
Where are the table constraints located? I'm trying to view Primary keys, column types, column names etc from a postgres table. Can anyone tell me how I can get column names, column types, column length, null or not.. etc..
Collapse
Posted by Claudio Pasolini on
Try \d tablename in psql or simply install and use the schema-browser package.