supabase / splinter

Supabase Postgres Linter: Performance and Security Advisors
https://supabase.github.io/splinter/
79 stars 8 forks source link

Exclude security invoker check prior to pg 15 #89

Closed olirice closed 1 month ago

olirice commented 1 month ago

What kind of change does this PR introduce?

security invoker views were introduced in pg15

We have some instances running pg14. This PR excludes the lint for security definer views unless the server version is >=15