From the source
OpenClaw v2026.11.5 lets a Gateway run on PostgreSQL instead of SQLite, aimed at teams running Gateways in replaceable containers or inside companies that already run a managed Postgres cluster.
- PostgreSQL is generally slower than SQLite for local database operations, since it adds communication with a separate database server, often over a network; the reason to use it is keeping data on infrastructure managed independently of the Gateway.
- SQLite stays the default for a laptop or a single machine with a disk you trust.
- The work grew out of a July cleanup that replaced loose JSONL session transcripts with a single SQLite storage layer, deleting about 9,400 lines of file repair, rotation and locking code and leaving one schema and transaction model.
- OpenClaw keeps the SQLite schema as the source of truth and generates the PostgreSQL schema from it, flagging anything that does not translate cleanly.
- Storage is split into five families — state, agent, workboard, logbook and team-reports — and each can pick its own engine, so shared state can go on PostgreSQL while individual agent stores stay on SQLite.
- The macOS app is still experimental on PostgreSQL, and iOS and iPad are not supported yet.






