]> git.evergreen-ils.org Git - Evergreen.git/commit
Add an unwrapped upgrade script for OCLC-aware control numbers
authorDan Scott <dan@coffeecode.net>
Thu, 21 Jul 2011 15:12:36 +0000 (11:12 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 28 Jul 2011 16:36:51 +0000 (12:36 -0400)
commit871fab76de691ad1bcc0331c1f27b3b4d3634a47
treef5f84b24903f67204f3b42205f17bd661cb9aad3
parenta9e646657cf4693405af679a95cdea0916d874e2
Add an unwrapped upgrade script for OCLC-aware control numbers

The upgrade script creates the SCN and LCCN search indexes and
populates them using metabib.full_rec as a source; cheating, but
the normalized values will work for non-exact search purposes. Sites can
reingest all of their bibs if they want exact search to work.

Also, refactor maintain_control_numbers() using a suggestion by
Dan Wells to eliminate some duplicate code.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/sql/Pg/002.functions.config.sql
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/xxxx.maintain_control_numbers_with_OCLC_awareness.sql [new file with mode: 0644]