Skip to content

Commit

Permalink
Fixed paste-o by lonnen in content_count_state.
Browse files Browse the repository at this point in the history
  • Loading branch information
jberkus committed Nov 1, 2011
1 parent 7b4475a commit 7a721ef
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sql/upgrade/2.3.2/content_count_state.sql
Expand Up @@ -30,7 +30,7 @@ CREATE AGGREGATE content_count(citext, integer) (

ALTER AGGREGATE public.content_count(citext, integer) OWNER TO breakpad_rw;

-- done
RETURN TRUE;
END;
$f$;




8 changes: 8 additions & 0 deletions sql/upgrade/2.3.2/update_reports_clean.sql
Expand Up @@ -307,3 +307,11 @@ RETURN TRUE;
END;
$f$;


CREATE OR REPLACE FUNCTION update_reports_clean_cron (
crontime timestamptz )
RETURNS BOOLEAN
LANGUAGE sql
AS $f$
SELECT update_reports_clean( date_trunc('hour', $1) - interval '1 hour' );
$f$;

0 comments on commit 7a721ef

Please sign in to comment.