Show table definition
suggest changeOpen 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.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents