 GRANT SELECT ON TABLE product_crash_ratio TO breakpad_ro;
 GRANT SELECT ON TABLE product_crash_ratio TO breakpad;
 GRANT ALL ON TABLE product_crash_ratio TO monitor;
+GRANT SELECT ON TABLE product_crash_ratio TO analyst;
 
 
 --

GRANT SELECT ON TABLE product_os_crash_ratio TO breakpad_ro;
GRANT SELECT ON TABLE product_os_crash_ratio TO breakpad;
GRANT ALL ON TABLE product_os_crash_ratio TO monitor;


--

CREATE FUNCTION update_correlations(updateday date, checkdata boolean DEFAULT true, check_period interval DEFAULT '01:00:00'::interval) RETURNS boolean
    LANGUAGE plpgsql
    SET work_mem TO '512MB'
    SET client_min_messages TO 'ERROR'
    AS $$
BEGIN
