Show columns, indexes, defaults, storage details, and more for a relation.
Section: Connect and Inspect with psql
Describe a table
sql
sql
\d+ public.usersExplanation
See summary for usage details.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Connect and Inspect with psql