PG Circuit
Runtime protection for PostgreSQL · A circuit breaker that runs inside Postgres
Website · Docs · Pricing · Open source (Community)
PG Circuit is a PostgreSQL circuit breaker and runtime protection extension. It scores risky SQL against live locks, replication lag, and database pressure, then ALLOW, WARN, or BLOCK — so production stays safe from:
DELETE/UPDATEwithoutWHERETRUNCATE/DROP- Destructive DDL under pressure
Unlike migration linters or proxies, PG Circuit runs inside PostgreSQL and sees live database state.
| Product | Availability |
|---|---|
| Community | Public on GitHub · Apache 2.0 · free forever |
| Pro | Commercial · sales · not a public GitHub repo |
| Cloud | Commercial · sales · not a public GitHub repo |
| Enterprise | Contracted support |
Only Community (
pg-circuit) is open source. Pro and Cloud ship via pgcircuit.com — their source stays private.
|
pg-circuit — Community Circuit breaker for production PostgreSQL. Native extension · deterministic risk · observe / warn / enforce. postgresql · circuit-breaker · database-security · sql-guardrails
|
DELETE FROM users;
-- ERROR: PG Circuit blocked high-risk operation (Risk: 95/100)- Website: pgcircuit.com
- Docs / quick start: pgcircuit.com/docs
- Pro & Cloud: pricing · sales
- Packaging & install: PACKAGING.md
- Contact: hello@pgcircuit.com
Keywords: PostgreSQL extension · Postgres circuit breaker · SQL guardrails · query firewall · runtime protection · destructive query protection · database safety · SRE · DBA tooling