From 8f2a7431bcff0af3beba4c516ca4b6383d6e5d7e Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Wed, 6 Apr 2022 23:34:00 -0400 Subject: [PATCH] comment out the raise notice debug items --- routes/baseline/gen_baseline.sql | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/routes/baseline/gen_baseline.sql b/routes/baseline/gen_baseline.sql index 1b252c0..0adcf64 100644 --- a/routes/baseline/gen_baseline.sql +++ b/routes/baseline/gen_baseline.sql @@ -53,7 +53,7 @@ WHERE dtype = 'date' AND func IS NOT NULL; -raise notice '%',_perd_joins; +--raise notice '%',_perd_joins; -------------------------------build a column list----------------------------------------- SELECT @@ -65,7 +65,7 @@ FROM WHERE COALESCE(appcol,'') NOT IN ('version','iter','logid'); -raise notice '%',_clist; +--raise notice '%',_clist; ---------------------------build column to increment dates--------------------------------- SELECT @@ -96,7 +96,7 @@ FROM WHERE COALESCE(appcol,'') NOT IN ('version','iter','logid'); -RAISE NOTICE 'DATES INCREMENTED: %',_clist_inc; +--RAISE NOTICE 'DATES INCREMENTED: %',_clist_inc; --------------------------------------clone the actual baseline----------------------------------------------- @@ -124,7 +124,7 @@ $$::text INTO _ytdbody; -RAISE NOTICE '_ytdbody %', _ytdbody; +--RAISE NOTICE '_ytdbody %', _ytdbody; ------------------------------------pull a plug from actuals to create a full year baseline------------------ @@ -145,7 +145,7 @@ $$ INTO _actpy; -RAISE NOTICE '_actpf %',_actpy; +--RAISE NOTICE '_actpf %',_actpy; ------------------------------copy a full year and increment by 1 year for the baseline------------------------- SELECT @@ -179,7 +179,7 @@ INTO _baseline; -RAISE NOTICE '_baseline %',_baseline; +--RAISE NOTICE '_baseline %',_baseline; ------------------------------stack the sql into the final format------------------------------------------------ SELECT @@ -194,7 +194,7 @@ $$||_baseline INTO _sql; -RAISE NOTICE '_sql %',_sql; +--RAISE NOTICE '_sql %',_sql; INSERT INTO fc.sql SELECT 'baseline', _sql ON CONFLICT ON CONSTRAINT sql_pkey DO UPDATE SET t = EXCLUDED.t;