Skip to main content
On this page

ReferencesThe Database

PostgreSQL

The relational database that most of the world runs on.

PostgreSQL at a glance

Role
The Database
Domain
Data & Streaming
Status
PostgreSQL 19
What it does
  • Full ACID transactions.
  • MVCC — readers never block writers, and writers never block readers.
  • A cost-based query planner, with statistics it keeps up to date itself.
  • Row-level security, so a database can enforce tenancy on its own.
  • Extensions — PostGIS for geography, pgvector for embeddings.

What it is

PostgreSQL is what "a database" means when someone says it without qualifying. It is a full relational system with transactions, foreign keys, check constraints, views and a planner that will rewrite your query if it thinks it can do better.

The extensions are what turned it from a good default into an unusually capable one. PostGIS makes it a spatial database; pgvector makes it a vector store; the JSON operators make it a document store that still keeps its constraints.

How it works

Every update rewrites the row, and every old version stays visible to readers until no one needs it. That is MVCC, and it is why a reporting query does not block the write that is landing next to it — and why the vacuum process exists to clean up what nobody reads any more.

  • PostgreSQL 19 was released on November 19, 2026.
  • PostgreSQL 18, released September 2025, added an asynchronous I/O subsystem, `uuidv7()`, skip-scan B-tree lookups, virtual generated columns by default, OAuth authentication, and `OLD`/`NEW` in `RETURNING`.
  • MD5 password authentication is deprecated as of 18, and will be removed in a future major release.

Under the hood

PieceWhat it is
Current majorPostgreSQL 19 — released November 19, 2026
ConcurrencyMVCC with snapshot isolation per transaction
DurabilityWrite-ahead logging; the log is the source of truth for recovery
Type systemRich types, including arrays, ranges, JSON and the geometric types
ExtensionsPostGIS, pgvector and thousands more on the extension registry

Where to read more