pg_canary watches queries executed in development/test, parses them with PostgreSQL's own parser (pg_query), and combines the AST with schema metadata (indexes, column types) to warn about anti-patterns that can become slow queries in production: leading-wildcard LIKEs, function-wrapped columns in WHERE, ORDER BY RANDOM(), NOT IN (SELECT ...), and more.
Required Ruby Version
>= 3.1.0
Authors
kyuuri1791
Versions
-
0.3.0
-
source
- 0.3.0 source July 19, 2026 (97.5 KB)
-
-
0.2.0
-
source
- 0.2.0 source July 18, 2026 (98.5 KB)
-
-
0.1.0
-
source
- 0.1.0 source July 14, 2026 (99 KB)
-