metaconfig=# select max(id), max(run_schedule), exe_handler, exe_method from configoperation group by exe_handler, exe_method; max | max | exe_handler | exe_method -----+---------------------+-------------+---------------- 59 | 2012-01-01 23:40:00 | management | command 1 | 2011-10-07 23:30:00 | config | update-machine 5 | 2011-10-01 23:40:00 | aptget | check (3 rows)