@@ -406,9 +406,9 @@ SELECT count(*) FROM _timescaledb_config.bgw_job WHERE proc_schema = '_timescale
406
406
(1 row)
407
407
408
408
SELECT alter_job(:drop_chunks_job_id, schedule_interval => INTERVAL '1 second');
409
- alter_job
410
- ----------------------------------------------------------------------------------------------------------------------------------------------------------------
411
- (1001,"@ 1 sec","@ 5 mins",-1,"@ 5 mins",t,"{""drop_after"": ""@ 4 mons"", ""hypertable_id"": 2}",-infinity,_timescaledb_functions.policy_retention_check,f,,)
409
+ alter_job
410
+ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
411
+ (1001,"@ 1 sec","@ 5 mins",-1,"@ 5 mins",t,"{""drop_after"": ""@ 4 mons"", ""hypertable_id"": 2}",-infinity,_timescaledb_functions.policy_retention_check,f,,,"Retention Policy [1001]" )
412
412
(1 row)
413
413
414
414
SELECT * FROM timescaledb_information.jobs WHERE job_id=:drop_chunks_job_id;
@@ -619,16 +619,16 @@ SELECT add_retention_policy('test_drop_chunks_table_tsntz', INTERVAL '4 months')
619
619
-- Test that retention policy is being logged
620
620
SELECT alter_job(id,config:=jsonb_set(config,'{verbose_log}', 'true'))
621
621
FROM _timescaledb_config.bgw_job WHERE id = :drop_chunks_date_job_id;
622
- alter_job
623
- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
624
- (1002,"@ 1 day","@ 5 mins",-1,"@ 5 mins",t,"{""drop_after"": ""@ 4 mons"", ""verbose_log"": true, ""hypertable_id"": 3}",-infinity,_timescaledb_functions.policy_retention_check,f,,)
622
+ alter_job
623
+ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
624
+ (1002,"@ 1 day","@ 5 mins",-1,"@ 5 mins",t,"{""drop_after"": ""@ 4 mons"", ""verbose_log"": true, ""hypertable_id"": 3}",-infinity,_timescaledb_functions.policy_retention_check,f,,,"Retention Policy [1002]" )
625
625
(1 row)
626
626
627
627
SELECT alter_job(id,config:=jsonb_set(config,'{verbose_log}', 'true'))
628
628
FROM _timescaledb_config.bgw_job WHERE id = :drop_chunks_tsntz_job_id;
629
- alter_job
630
- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
631
- (1003,"@ 1 day","@ 5 mins",-1,"@ 5 mins",t,"{""drop_after"": ""@ 4 mons"", ""verbose_log"": true, ""hypertable_id"": 4}",-infinity,_timescaledb_functions.policy_retention_check,f,,)
629
+ alter_job
630
+ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
631
+ (1003,"@ 1 day","@ 5 mins",-1,"@ 5 mins",t,"{""drop_after"": ""@ 4 mons"", ""verbose_log"": true, ""hypertable_id"": 4}",-infinity,_timescaledb_functions.policy_retention_check,f,,,"Retention Policy [1003]" )
632
632
(1 row)
633
633
634
634
SELECT ts_bgw_db_scheduler_test_run_and_wait_for_scheduler_finish(1000);
0 commit comments