Show table definition

suggest change

Open the psql command line tool connected to the database where your table is. Then type the following command:

\d tablename

To get extended information type

\d+ tablename

If you have forgotten the name of the table, type \d into psql to list tables, views, and sequences in the schemas on search_path, not every schema in the database. \d schema_name.* lists another schema.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents