tembo-io / pg_later

Execute SQL now and get the results later.
PostgreSQL License
354 stars 10 forks source link

status and progress of in-flight jobs #18

Open ChuckHend opened 1 year ago

ChuckHend commented 1 year ago

pglater.check_status(<job_id>) should return some metadata:

proposed:

{
   "status": queued|running|success|failed,
   "enqueued_at": timestamp,
   "started_at": timestamp,
   "finished_at": timestamp,
}