diff --git a/build/build_pool.sql b/build/build_pool.sql index 8214724..c1ffc0c 100644 --- a/build/build_pool.sql +++ b/build/build_pool.sql @@ -59,7 +59,7 @@ repc AS ( ) --select * from si ,logload AS ( - INSERT INTO rlarp.osm_log (doc) SELECT jsonb_build_object('user',current_user,'tag','1+11','type','build_pool','stamp',current_timestamp,'source','top level','message','don''t undo') RETURNING * + INSERT INTO rlarp.osm_log (doc) SELECT jsonb_build_object('user',current_user,'tag','baseline','type','build_pool','stamp',current_timestamp,'source','top level','message','don''t undo') RETURNING * ) --select * from logload ,loadset AS ( @@ -156,7 +156,7 @@ SELECT ,logload.doc->>'message' "comment" ,logload.doc->>'type' module FROM - rlarp.osmf_dev o + rlarp.osmf o CROSS JOIN logload LEFT OUTER JOIN lgdat.cust bc ON bc.bvcust = o.bill_cust @@ -178,7 +178,7 @@ FROM */ LEFT OUTER JOIN seg ON seg.glec = o.glec - LEFT OUTER JOIN rlarp.itemm i ON + LEFT OUTER JOIN "CMS.CUSLG".itemm i ON i.item = o.part ) SELECT * FROM loadset