lib/postgres/vacuum/jobs/monitor_job.rb in postgres-vacuum-monitor-0.5.0 vs lib/postgres/vacuum/jobs/monitor_job.rb in postgres-vacuum-monitor-0.6.0
- old
+ new
@@ -14,10 +14,13 @@
database_name: name,
start_time: row['xact_start'],
running_time: row['seconds'],
application_name: row['application_name'],
most_recent_query: row['query'],
- state: row['state']
+ state: row['state'],
+ wait_event_type: row['wait_event_type'],
+ transaction_id: row['backend_xid'],
+ min_transaction_id: row['backend_xmin']
)
end
connection.execute(Postgres::Vacuum::Monitor::Query.tables_eligible_vacuuming).each do |row|
reporter_class.report_event(