Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jw1u1 committed Oct 8, 2024
1 parent 398ba7c commit beffd80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_postgres.pl
Original file line number Diff line number Diff line change
Expand Up @@ -6760,7 +6760,7 @@ sub check_partman_premake {
SELECT parent_table, date
FROM ( SELECT
i.inhparent::regclass as parent_table,
substring(pg_catalog.pg_get_expr(c.relpartbound, i.inhrelid)::text similar '%TO __#"[0-9]+-[0-9]{2}-[0-9]{2}#"%' escape '#') as date
substring(pg_catalog.pg_get_expr(c.relpartbound, i.inhrelid)::text similar '%TO __#"[0-9]+-[0-9]{2}-[0-9]{2}#"%' escape '#') as date,
rank() OVER (PARTITION BY i.inhparent ORDER BY pg_catalog.pg_get_expr(c.relpartbound, i.inhrelid) DESC)
FROM pg_inherits i
JOIN pg_class c ON c.oid = i.inhrelid
Expand Down

0 comments on commit beffd80

Please sign in to comment.