rules repository

PostgreSQL rules

Explore 16 dbLinter rules for PostgreSQL and PL/pgSQL code. Each rule explains the issue, identifies the minimum supported PostgreSQL version and provides examples of problematic code and a recommended fix.

Start with the highest-severity rules below, or browse the full list.

Most severe PostgreSQL rules

The highest-severity rules that apply to PostgreSQL.

All 16 PostgreSQL rules

16 total

Related rule collections