PostgreSQL Workbench documentation

PostgreSQL Workbench documentation covers the complete PostgreSQL development workflow in VS Code: schema navigation, SQL Scratchpads, editable Data Views, pgTAP coverage, PL/pgSQL debugging, and the standalone DAP server.

Start with a development database

  1. Run PostgreSQL Workbench: Add Connection. Several Connections can stay open at once; each one keeps its own index, Cockpit scope, and Scratchpads.
  2. Expand the Connection, then its database: Schemas indexes PostgreSQL structure automatically on connect. Run Reindex Database on that Connection whenever you need a fresh snapshot.

For a disposable local environment, run PostgreSQL Workbench: Start Local Debug Database (Docker). PostgreSQL 17 and 127.0.0.1:5432 are the defaults; database, user, and password are all postgres.

Use those fixed credentials only for a local container. Never expose it on 0.0.0.0 or a remote host.

Choose a guide