Playground
Lint PostgreSQL in your browser.
The same parser the published plugin uses — libpg-query — compiled to
WebAssembly and running entirely on this page. Nothing is sent to a server. Pick a
preset, edit the SQL, toggle rules.
Diagnostics
No issues found.
65 rules enabled.
Rules 65 / 89
Reading the diagnostics
- error — rules whose violation is almost certainly a bug.
- warn — best-practice rules with legitimate exceptions.
- off — off by default; opt in when it suits your project.
Heads up: the playground runs a faithful reimplementation of the production rules against libpg-query's AST. The README in the repository is the authoritative description of behaviour; if you spot a discrepancy, please open an issue.