postgresql7.1 insert into ad_monitoring_top ( top_id, timestamp, timehour, load_avg_1, load_avg_5, load_avg_15, memory_real, memory_free, memory_swap_in_use, memory_swap_free ) values ( :top_id, current_timestamp, to_char(current_timestamp, 'HH24')::integer, :load_1, :load_5, :load_15, :memory_real, :memory_free, :memory_swap_in_use, :memory_swap_free )