Relational SQL database
Managed PostgreSQL 17 on a machine of your own.
Lathe runs PostgreSQL 17 for you on a dedicated machine in the EU: the unmodified upstream build with PgBouncer in front, TLS and SCRAM-SHA-256 on every connection, the usual extensions ready, daily backups that are restored and checked every month, and one flat monthly price with storage and traffic included.
What you get with Postgres 17 on Lathe.
- Connection pooling
- PgBouncer in transaction mode on port 6432 for serverless functions and many short connections; direct Postgres on 5432 for migrations, sessions and LISTEN/NOTIFY.
- Extensions
- pgvector, pg_stat_statements, pg_trgm and pgcrypto enabled from the start; more switched on per database from the portal, the API or MCP.
- Databases, from the portal
- Create and drop databases, switch extensions on and off, and open a SQL console in the browser, read-only or read-write, per database.
- Settings you can change
- Statement timeout, idle-in-transaction timeout and the server time zone, applied with a reload.
- Backups you can trust
- Daily images, 7 kept, restored in place with the same address. Every month the latest backup is restored to a temporary server and checked with pg_amcheck.
- Monitoring
- Connections, transactions per second, cache hit ratio, long queries and deadlocks, with charts over an hour, a day or a week.
- Version and licence
- Postgres 17, the upstream build with no Lathe patches, under the PostgreSQL licence. Minor updates in a fixed weekly window (Sundays 03:00 UTC), announced by email in advance.
- On the same machine
- Postgres, Redis, CouchDB and NATS can run together on one dedicated instance in the EU; switch any of them on or off later, each with its own memory budget and credentials.
Connect
postgres://app:••••@db-7f3a.lathe.computer:5432?sslmode=require
Port 5432, TLS required, your own credentials; any standard Postgres client works unchanged.
Good for
- The primary database of a web or mobile app
- Embeddings and similarity search with pgvector
- Analytics and reporting on data you own
- Staging and development databases that behave like production
Questions about Postgres
Which PostgreSQL version and extensions do I get?
PostgreSQL 17, the upstream build, with pgvector, pg_stat_statements, pg_trgm and pgcrypto enabled. Other contrib extensions can be switched on per database.
Can I connect from serverless functions?
Yes. Use the pooled URL on port 6432: PgBouncer holds a small number of server connections and serves many short client connections. Use port 5432 for anything that needs a session.
Do I get a superuser?
No. You hold an owner role that can create databases and extensions from the allowed list. Reset and restore are the recovery tools, and the SQL console runs as that owner.
How are backups taken and restored?
A disk image every day, 7 kept. A restore takes a snapshot first, then rebuilds the instance from the backup you choose; the connection string does not change, and the snapshot can be restored for 7 days.
Also on Lathe: Redis 8, CouchDB 3, NATS 2. See pricing, or the home page for the whole offer.
Postgres 17 on a dedicated machine, from $15 a month.
Live about 90 seconds after checkout. Cancel any time.
Create an instance