Decrease log level in pgq_node.get_node_info.sql and pgq_node.get_consumer_state.sql
authorPriit Kustala <priitkustala@hotmail.com>
Tue, 28 Apr 2009 10:25:38 +0000 (10:25 +0000)
committerMarko Kreen <markokr@gmail.com>
Tue, 28 Apr 2009 11:58:52 +0000 (14:58 +0300)
sql/pgq_node/functions/pgq_node.get_consumer_state.sql
sql/pgq_node/functions/pgq_node.get_node_info.sql

index 548fed96092435fff78045ef6c51349940b39aee..389d985a6159d6b45549c0da657b58e498e96ec2 100644 (file)
@@ -33,7 +33,7 @@ create or replace function pgq_node.get_consumer_state(
 --      uptodate - if consumer has loaded last changes
 -- ----------------------------------------------------------------------
 begin
-    select 200, 'Ok', n.node_type, n.node_name, s.last_tick_id,
+    select 100, 'Ok', n.node_type, n.node_name, s.last_tick_id,
            s.provider_node, p.node_location, s.paused, s.uptodate
       into ret_code, ret_note, node_type, node_name, completed_tick,
            provider_node, provider_location, paused, uptodate
index 6071957660dd92e38f9fa2ccc26a07d0494f1cbe..209787629804d3e61aa6149e859a9a7681a293ca 100644 (file)
@@ -44,7 +44,7 @@ create or replace function pgq_node.get_node_info(
 declare
     sql text;
 begin
-    select 200, 'Ok', n.node_type, n.node_name, g.last_tick,
+    select 100, 'Ok', n.node_type, n.node_name, g.last_tick,
            c.node_type, c.queue_name, w.provider_node, l.node_location,
            n.worker_name, w.paused, w.uptodate, w.last_tick_id
       into ret_code, ret_note, node_type, node_name, global_watermark,