You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: schema/postgres/sqls/pg_PANDA_TABLE.sql
+38-3Lines changed: 38 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,8 @@ CREATE TABLE config (
70
70
value varchar(256) NOT NULL,
71
71
type varchar(64) NOT NULL,
72
72
vo varchar(32) NOT NULL,
73
-
descr varchar(256) NOT NULL
73
+
descr varchar(256) NOT NULL,
74
+
value_json JSONB
74
75
) ;
75
76
COMMENT ON TABLE config IS E'Central configuration table for jedi and panda server';
76
77
COMMENT ON COLUMN config.app IS E'Application. E.g. jedi or pandaserver';
@@ -914,7 +915,9 @@ CREATE TABLE jedi_tasks (
914
915
container_name varchar(200),
915
916
job_label varchar(20),
916
917
realmodificationtime timestamp,
917
-
framework varchar(50)
918
+
framework varchar(50),
919
+
activatedtime timestamp,
920
+
queuedtime timestamp
918
921
) PARTITION BY RANGE (jeditaskid) ;
919
922
COMMENT ON COLUMN jedi_tasks.amiflag IS E'It will contain a mask, one bit per AMI task (AMI has two tasks) with default value at insertion for "amiflag" to 3 (0b00000011). A trigger when the field âcampaignâ is modified: if "amiflag" is NULL then "amiflag" = 2 else "amiflag" = BITOR(AMIFLAG, 2)';
920
923
COMMENT ON COLUMN jedi_tasks.architecture IS E'The architecture on which the task runs. Eg, $CMTCONFIG';
@@ -995,6 +998,8 @@ COMMENT ON COLUMN jedi_tasks.workdiskunit IS E'unit of WORKDISKCOUNT';
995
998
COMMENT ON COLUMN jedi_tasks.workinggroup IS E'The name of the working group which owns the task ';
996
999
COMMENT ON COLUMN jedi_tasks.workqueue_id IS E'The work queue identifier to which the task belongs';
997
1000
COMMENT ON COLUMN jedi_tasks.framework IS E'Submission framework that was used to generate the task';
1001
+
COMMENT ON COLUMN jedi_tasks.activatedtime IS E'Time of activation processing workload';
1002
+
COMMENT ON COLUMN jedi_tasks.queuedtime IS E'Start time of queuing period ready to generate jobs';
idBIGINT GENERATED ALWAYS AS IDENTITY (START WITH 1000000 INCREMENT BY 1) NOT NULL,
2806
+
"id"BIGINT GENERATED ALWAYS AS IDENTITY (START WITH 1000000 INCREMENT BY 1) NOT NULL,
2802
2807
"error_source"VARCHAR(30) NOT NULL,
2803
2808
"error_code"bigintNOT NULL,
2804
2809
"error_diag"VARCHAR(256) NOT NULL,
@@ -2818,3 +2823,33 @@ COMMENT ON COLUMN error_classification.active IS E'Y or N. Depending on whether
2818
2823
COMMENT ON COLUMN error_classification.reg_date IS E'Registration date, defaults to current timestamp';ALTER TABLE error_classification OWNER TO panda;
0 commit comments