PostgreSQL DESCRIBE TABLE Equivalent

Some DBMSs such as Oracle, MySQL, and MariaDB have a DESCRIBE command that returns information about tables and views. It goes DESCRIBE table where table is the name of the table or view, and it can also be followed by a column name if you only want information about a specific column.

PostgreSQL doesn’t have a DESCRIBE TABLE command as such, but there are alternatives.

Continue reading