From c8ba101fd2ef4b8aeb81f372e37d61810bd133ca Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Sun, 3 Apr 2011 15:17:15 -0400 Subject: [PATCH] Fieldmapper additions for Authority Control Set tables/classes --- Open-ILS/examples/fm_IDL.xml | 91 ++++++++++++++++++++++++++++ Open-ILS/src/sql/Pg/999.functions.global.sql | 4 +- 2 files changed, 93 insertions(+), 2 deletions(-) diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 04b85049fc..fcfec0a14f 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -1583,6 +1583,93 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1595,12 +1682,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + + @@ -1623,9 +1712,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + + diff --git a/Open-ILS/src/sql/Pg/999.functions.global.sql b/Open-ILS/src/sql/Pg/999.functions.global.sql index d621300cf2..f9ed9a337c 100644 --- a/Open-ILS/src/sql/Pg/999.functions.global.sql +++ b/Open-ILS/src/sql/Pg/999.functions.global.sql @@ -1399,11 +1399,11 @@ BEGIN END; $func$ LANGUAGE PLPGSQL; --- authority.rec_descriptor appears to be unused currently +-- authority.rec_descriptor appears to be unused currently XXX CREATE OR REPLACE FUNCTION authority.reingest_authority_rec_descriptor( auth_id BIGINT ) RETURNS VOID AS $func$ BEGIN DELETE FROM authority.rec_descriptor WHERE record = auth_id; --- INSERT INTO authority.rec_descriptor (record, record_status, char_encoding) +-- INSERT INTO authority.rec_descriptor (record, record_status, char_encoding, thesaurus) -- SELECT auth_id, ; RETURN; -- 2.11.0