✅ Eugene lint report

Script name: examples/E4/bad/1.sql

This is a human readable SQL lint report generated by eugene. Keep in mind that lint rules can be ignored in the following two ways:

  1. By appending comment directives like -- eugene: ignore E123 to the SQL statement.
  2. By passing --ignore E123 on the command line.

✅ Statement number 1

-- 1.sql create table authors ( id integer generated always as identity primary key, name text not null )

❌ Eugene lint report

Script name: examples/E4/bad/2.sql

This is a human readable SQL lint report generated by eugene. Keep in mind that lint rules can be ignored in the following two ways:

  1. By appending comment directives like -- eugene: ignore E123 to the SQL statement.
  2. By passing --ignore E123 on the command line.

✅ Statement number 1

-- 2.sql set local lock_timeout = '2s'

✅ Statement number 2

alter table authors add column email text not null

❌ Statement number 3

select count(*) from authors

Triggered rules

E4: Running more statements after taking AccessExclusiveLock

Running more statements after taking AccessExclusiveLock.