Skip to content

Commit

Permalink
fix: erroneous create view in splinter.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
soedirgo committed Jan 16, 2025
1 parent f754bc1 commit cfd07d7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions splinter.sql
Original file line number Diff line number Diff line change
Expand Up @@ -968,8 +968,7 @@ where
-- Constant requirements
and 'pgmq_public' = any(array(select trim(unnest(string_to_array(current_setting('pgrst.db_schemas', 't'), ','))))))
union all
(create or replace view lint."0020_table_bloat" as

(
with constants as (
select current_setting('block_size')::numeric as bs, 23 as hdr, 4 as ma
),
Expand Down Expand Up @@ -1066,4 +1065,4 @@ where
and raw_waste > (20 * 1024 * 1024) -- filter for waste > 200 MB
order by
schemaname,
object_name)
object_name)

0 comments on commit cfd07d7

Please sign in to comment.