rrs-commit: r45 - trunk

decibel at decibel.org decibel at decibel.org
Mon Mar 21 02:16:48 GMT 2005


Author: decibel
Date: Mon Mar 21 02:16:48 2005
New Revision: 45

Modified:
   trunk/rrs_functions.sql
Log:
Fix a few more missing schema references

Modified: trunk/rrs_functions.sql
==============================================================================
--- trunk/rrs_functions.sql	(original)
+++ trunk/rrs_functions.sql	Mon Mar 21 02:16:48 2005
@@ -442,12 +442,12 @@
     
     SELECT INTO v_next_data_interval, v_last_start_time
             avg(next_data_interval), max(start_time)
-        FROM history_data_interval_run_time_v
+        FROM rrs.history_data_interval_run_time_v
         WHERE next_data_interval IS NOT NULL
     ;
     SELECT INTO v_last_data_interval_secs
             interval_to_seconds(data_interval)
-        FROM history_data_interval
+        FROM rrs.history_data_interval
         WHERE start_time = v_last_start_time
     ;
 
@@ -455,9 +455,9 @@
         RAISE INFO ''calculate_end_time: no data available, using minimum interval (%)'', v_min_interval;
         v_next_data_interval := v_min_interval;
     ELSE
-        IF interval_to_seconds(v_next_data_interval) > v_last_data_interval_secs * 3 THEN
+        IF rrs.interval_to_seconds(v_next_data_interval) > v_last_data_interval_secs * 3 THEN
             RAISE INFO ''calculate_end_time: maximum data interval slew exceeded, capping to 3x last setting'';
-            v_next_data_interval := seconds_to_interval( v_last_data_interval_secs * 3 );
+            v_next_data_interval := rrs.seconds_to_interval( v_last_data_interval_secs * 3 );
         END IF;
     END IF;
     IF v_next_data_interval < v_min_interval THEN


More information about the rrs-commit mailing list