PostgreSQL 17 runners are live
All rules

FRN813[info]Application queries

Watched query plan changed

A registered query uses a different plan after the migrations, without a measured regression.

Why it's risky in PostgreSQL

The scan type, index or join strategy changed. On this data it isn't slower; on production's data distribution it might be. Review the plan change in the run's Queries tab.

What triggers it, and the safer way

unsafe.sql
CREATE INDEX orders_customer_status_idx ON orders (customer_id, status);
safer.sql
-- Expected plan changes need no action.

Suppress it when you're sure

Put this comment on the line before the statement. The reason is required and shows in the report.

suppression
-- fronelta:allow FRN813 <why this is safe here>

Applies to PostgreSQL 14, 15, 16, 17.