Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {"type":"monitoring","log":[
- ["2016-10-12T20:33:21","0.00","0.00","0.00","0.00","0.0","24.00","1.83","-0.00","1","1","-100.00"],
- ["2016-10-12T20:33:23","0.00","0.00","0.00","0.00","0.0","24.00","1.52","-0.61","1","1","-100.00"]]}
- IF(NOT b_first_line) THEN
- s_insert_query_values = right(s_insert_query_values, -1); --remove te leading comma
- EXECUTE format('INSERT INTO log_rlda
- (record_node_id, log_line, log_value, timestamp, record_log_id)
- VALUES %s;', s_insert_query_values);
- s_insert_query_values = '';
- i_num_lines_buffered = 0;
- END IF;
- END IF;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement