Copy-ready commandPostgreSQL describe table
\d usersRequirements and permissions
- Requirements
- Appropriate database client and connection
- Permissions
- Database privileges vary
- Last reviewed
- 2026-07-31
Examples
Basic example
Describe a PostgreSQL table in psql.
\d usersCommon errors
Command not found
Confirm Appropriate database client and connection is installed and available in your current shell.