Skip to content

Commit c317840

Browse files
author
Vladimir Ershov
committed
fix all_job_status view
1 parent f4da4da commit c317840

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pgpro_scheduler--2.0.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,7 +1386,7 @@ CREATE VIEW all_job_status AS
13861386
id, node, name, comments, at as run_after,
13871387
do_sql as query, params, depends_on, executor as run_as, owner,
13881388
attempt, resubmit_limit, postpone as max_wait_interval,
1389-
max_run_time as max_duration, submit_time,
1389+
max_run_time as max_duration, submit_time, canceled,
13901390
start_time, status as is_success, reason as error, done_time,
13911391
'done'::job_at_status_t status
13921392
FROM schedule.at_jobs_done
@@ -1395,7 +1395,7 @@ CREATE VIEW all_job_status AS
13951395
id, node, name, comments, at as run_after,
13961396
do_sql as query, params, depends_on, executor as run_as, owner,
13971397
attempt, resubmit_limit, postpone as max_wait_interval,
1398-
max_run_time as max_duration, submit_time, start_time,
1398+
max_run_time as max_duration, submit_time, canceled, start_time,
13991399
NULL as is_success, NULL as error, NULL as done_time,
14001400
'processing'::job_at_status_t status
14011401
FROM ONLY schedule.at_jobs_process
@@ -1404,7 +1404,7 @@ CREATE VIEW all_job_status AS
14041404
id, node, name, comments, at as run_after,
14051405
do_sql as query, params, depends_on, executor as run_as, owner,
14061406
attempt, resubmit_limit, postpone as max_wait_interval,
1407-
max_run_time as max_duration, submit_time,
1407+
max_run_time as max_duration, submit_time, canceled,
14081408
NULL as start_time, NULL as is_success, NULL as error,
14091409
NULL as done_time,
14101410
'submitted'::job_at_status_t status

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy