The CLI you'll live in
psql is the official terminal client. It is fast, scriptable, and has powerful meta-commands. Learn it before learning any GUI — you'll use it for the rest of your career, on every machine, every cloud, every container.
The other essential CLI tools
pg_dump— logical backup of one database (SQL or custom format).pg_restore— restore a custom-format dump.pg_basebackup— physical backup of the whole cluster.pgbench— built-in benchmark and load generator.vacuumdb/reindexdb/clusterdb— maintenance utilities.
The most common extensions
- PostGIS — full GIS database.
- pg_trgm — fuzzy/typo-tolerant text search.
- pgcrypto — hashing, encryption, secure random bytes.
- pgvector — embeddings + ANN search.
- pg_stat_statements — per-query telemetry; the first thing you turn on in production.
- uuid-ossp — historically used for UUID generation; PG 18+ has built-in
uuidv7().
GUIs, monitoring, hosting
GUI clients: pgAdmin (official, web), DBeaver (cross-platform), TablePlus (macOS-friendly), Postico (macOS native). Pooling: pgBouncer for transaction-mode connection pooling. HA: Patroni. Hosted: Supabase, Neon, RDS/Aurora, AlloyDB, Azure Flexible Server, Railway, Render.