eviceid AS meta_sensor_deviceid 
FROM raw.livedata JOIN meta.sensor ON meta.sensor.feederid = raw.livedata.id]
(Background on this error at: https://sqlalche.me/e/20/2j85)
listen for the 'handle_error' event
canceling statement due to statement timeout

listen for the 'handle_error' event
current transaction is aborted, commands ignored until end of transaction block

(psycopg2.errors.InFailedSqlTransaction) current transaction is aborted, commands ignored until end of transaction block

[SQL: SELECT raw.livedata.eventtime AS raw_livedata_eventtime, raw.livedata.id AS raw_livedata_id, raw.livedata.statusid AS raw_livedata_statusid, meta.sensor.deviceid AS meta_sensor_deviceid 
FROM raw.livedata JOIN meta.sensor ON meta.sensor.feederid = raw.livedata.id]
(Background on this error at: https://sqlalche.me/e/20/2j85)
listen for the 'handle_error' event
canceling statement due to statement timeout

listen for the 'handle_error' event
current transaction is aborted, commands ignored until end of transaction block