From: Galen Charlton Date: Mon, 6 Aug 2012 15:42:22 +0000 (-0400) Subject: add another table to the configuration export X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=commitdiff_plain;h=8a7b3c61b459b5443aac9489b9ebddac259e153b add another table to the configuration export Signed-off-by: Galen Charlton --- diff --git a/sql/base/base.sql b/sql/base/base.sql index 6ca7af1..54f0a9d 100644 --- a/sql/base/base.sql +++ b/sql/base/base.sql @@ -1660,6 +1660,9 @@ BEGIN EXECUTE $$COPY (SELECT name, owning_lib, holdable, hold_verify, opac_visible, circulate FROM asset.copy_location WHERE owning_lib IN ($$ || ARRAY_TO_STRING(orgs, ',') || $$)$$ || $$) TO '$$ || dir || $$/asset_copy_location'$$; + EXECUTE $$COPY (SELECT grp, org_unit, penalty, threshold FROM permission.grp_penalty_threshold WHERE org_unit IN ($$ || + ARRAY_TO_STRING(orgs, ',') || $$)$$ || + $$) TO '$$ || dir || $$/permission_grp_penalty_threshold'$$; END; $FUNC$ LANGUAGE PLPGSQL;