PostgreSQL describe tableIT technician command center
Database · SQL and Database Administration

PostgreSQL describe table

Describe a PostgreSQL table in psql.

Copy-ready commandPostgreSQL describe table
\d users

Requirements 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 users

Common errors

Command not found

Confirm Appropriate database client and connection is installed and available in your current shell.