comment out the raise notice debug items

This commit is contained in:
Paul Trowbridge 2022-04-06 23:34:00 -04:00
parent aa4d6fb7f0
commit 8f2a7431bc

View File

@ -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;