Skip to content

Commit

Permalink
Merge pull request #292 from cybertec-postgresql/291_add_job_strict
Browse files Browse the repository at this point in the history
[-] remove `STRICT` option from `add_job()` function, fixes #291
  • Loading branch information
pashagolub authored Jul 5, 2021
2 parents 311fab5 + 2eff73a commit 3b03307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pgengine/sql/job_functions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ CREATE OR REPLACE FUNCTION timetable.add_job(
INSERT INTO timetable.parameter (chain_id, task_id, order_id, value)
SELECT v_chain_id, v_task_id, 1, job_parameters FROM cte_task, cte_chain
RETURNING chain_id
$$ LANGUAGE SQL STRICT;
$$ LANGUAGE SQL;

CREATE OR REPLACE FUNCTION timetable.notify_chain_start(
chain_id BIGINT,
Expand Down

0 comments on commit 3b03307

Please sign in to comment.