Switch to ingesting authority records automatically via database triggers
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 17 Jul 2010 20:51:15 +0000 (20:51 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 17 Jul 2010 20:51:15 +0000 (20:51 +0000)
commita1612cfd664fc9af03c6e7487516b5f61ea5b644
treec6bc52beb4011e76a61ccd06d51764919923b157
parent19d982872f23caa967fab85823778ee864999beb
Switch to ingesting authority records automatically via database triggers

Taken largely from the existing approach for ingesting biblio records,
there is some duplication here that we could genericize. But for now,
we'll go with the working-but-separate approach to avoid introducing
badness into the relatively stable biblio ingest pipeline.

Also, move some of the existing authority-related functions out of
the metabib schema file and into 999.functions.global.sql.

Finally, the direct_ingest.pl script is no longer necessary for
ingest of authority records, either, so die in that case as well.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16970 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/extras/import/direct_ingest.pl
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/030.schema.metabib.sql
Open-ILS/src/sql/Pg/999.functions.global.sql
Open-ILS/src/sql/Pg/upgrade/0342.schema.authority_ingest_triggers.sql [new file with mode: 0644]