immediately insert the forecast pool to the live pool

This commit is contained in:
Paul Trowbridge 2021-07-12 14:27:05 -04:00
parent 716c18e5ba
commit 39dc65ab9c

View File

@ -171,7 +171,7 @@ FROM
--LIMIT 100 --LIMIT 100
) WITH DATA; ) WITH DATA;
--INSERT INTO rlarp.osm_pool SELECT * FROM rlarp.osm_pool_stage; INSERT INTO rlarp.osm_pool SELECT * FROM rlarp.osm_pool_stage;
--CREATE INDEX osm_qr ON rlarp.osm_pool(quota_rep_descr, bill_cust_descr, ship_cust_descr); --CREATE INDEX osm_qr ON rlarp.osm_pool(quota_rep_descr, bill_cust_descr, ship_cust_descr);
--ALTER TABLE rlarp.osm_pool ADD CONSTRAINT logfk FOREIGN KEY (logid) REFERENCES rlarp.osm_log(id); --ALTER TABLE rlarp.osm_pool ADD CONSTRAINT logfk FOREIGN KEY (logid) REFERENCES rlarp.osm_log(id);