create procedure to convert pool to sales matrix columns

This commit is contained in:
Paul Trowbridge 2021-04-12 13:13:38 -04:00
parent 9db81ace17
commit 3b3b01bb90

View File

@ -1,4 +1,7 @@
BEGIN;
CREATE OR REPLACE PROCEDURE rlarp.convert_pool_all()
LANGUAGE plpgsql AS
$func$
BEGIN
DELETE FROM rlarp.osmfs_dev;
@ -427,3 +430,7 @@ WHERE
--INSERT INTO rlarp.osmf_dev SELECT * FROM rlarp.osmfs_dev;
COMMIT;
END
$func$;
GRANT ALL ON PROCEDURE rlarp.convert_pool_all() TO PUBLIC;