Preparing for system design interviews?  Try bugzed.com →

PgSanity

JSON →
library 0.3.0 ·python
verified Apr 13, 2026

PgSanity is a Python utility that checks the syntax of PostgreSQL SQL files. It operates by leveraging the `ecpg` command-line tool, which is part of the PostgreSQL client development tools. This allows `pgsanity` to use the exact same parser as PostgreSQL to identify SQL syntax errors, making it a reliable tool for quality assurance and testing of SQL scripts. The current version is 0.3.0, and it maintains a regular release cadence.

total hits 14
actors 5 distinct systems
last hit 7d ago ByteDance
GPTBot
3
Script
1
ByteDance
1
Search engines
1
Humans
4

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France · 🇬🇧 United Kingdom