DbSchema Database Designer

DbSchema | PostgreSQL - How to Describe Table

In this article, we are going to see two simple ways of executing a DESCRIBE TABLE equivalent in PostgreSQL.

1.Describe table using psql

If you want to use psql for this operation, you can enter the PostgreSQL command line and execute:

\d+ tablename

2.Describe table using SQL Syntax

select column_name, data_type, character_maximum_length, columns.is_nullable
from INFORMATION_SCHEMA.COLUMNS where table_name = 'name_of_table';

Replace name_of_table with the name of the desired table.

Visually Manage Databases using DbSchema

DbSchema is a databases client and visual designer. DbSchema has a free Community Edition, which can be downloaded here.
DbSchema main features include:

DbSchema Designer alt >

Interactive Diagrams

Design tables, column and foreign keys directly in diagrams.


Connection Dialog alt >

Simple Connection Dialog

Choose the database location, the user and password, and simply get connected.


Relational Data Explorer alt >

Relational Data Explorer

Explore data from multiple tables simultaneously, using foreign keys or virtual foreign keys.


Query Builder alt >

Query Builder

Create SQL Queries using the mouse.


SQL Query Editor alt >

SQL Query Editor

Edit and execute SQL Queries


Schema Synchronization alt >

Design Schema in Team & Schema Deployment

DbSchema is using the design model, a copy of the schema structure, independent of the database.
The design model can be saved to file and shared in a team.
Connecting to another database you may compare the design model with the database, commit the differences or merge them in the design model.


Dark Theme alt >

Dark Theme

Configurable styles & dark theme.


Many features are available in the free Community edition.
The Pro edition adds capabilities to save the design to the model file, design schema in team and deploy the schema on multiple databases.


DbSchema can be downloaded for free. No registration is required.