From: Dan Scott Date: Sun, 4 Sep 2016 20:15:16 +0000 (-0400) Subject: Use pingest.pl for reingests to avoid 44-hour upgrades X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2fe62ce84259eaec8b8e9751943657b05f8b8d48;p=contrib%2FConifer.git Use pingest.pl for reingests to avoid 44-hour upgrades Signed-off-by: Dan Scott --- diff --git a/Open-ILS/src/sql/Pg/version-upgrade/2.9.3-2.10.0-upgrade-db.sql b/Open-ILS/src/sql/Pg/version-upgrade/2.9.3-2.10.0-upgrade-db.sql index 9ed7e229e6..0a09a197d6 100644 --- a/Open-ILS/src/sql/Pg/version-upgrade/2.9.3-2.10.0-upgrade-db.sql +++ b/Open-ILS/src/sql/Pg/version-upgrade/2.9.3-2.10.0-upgrade-db.sql @@ -4632,21 +4632,21 @@ INSERT INTO config.record_attr_index_norm_map (attr,norm,pos) DELETE FROM metabib.record_sorter WHERE attr = 'pubdate' AND value !~ '^\d+$'; -- and these are reingests that are allowed be interrupted -\qecho -\qecho To use the new identifier|genre index, it is necessary to do -\qecho a partial reingest of records that have a 655 tag. You can -\qecho cancel out of this if you wish and run this and the following -\qecho attribute reingest later. -\qecho -SELECT metabib.reingest_metabib_field_entries(record, FALSE, TRUE, FALSE) -FROM metabib.real_full_rec -WHERE tag IN ('655') -GROUP BY record; - -\qecho -\qecho This is a record attribute reingest of your bib records. -\qecho It will take a while. -\qecho You may cancel now without losing the effect of the rest of the -\qecho upgrade script, and arrange the reingest later. -SELECT COUNT(metabib.reingest_record_attributes(id)) - FROM biblio.record_entry WHERE deleted IS FALSE; +--\qecho +--\qecho To use the new identifier|genre index, it is necessary to do +--\qecho a partial reingest of records that have a 655 tag. You can +--\qecho cancel out of this if you wish and run this and the following +--\qecho attribute reingest later. +--\qecho +--SELECT metabib.reingest_metabib_field_entries(record, FALSE, TRUE, FALSE) +--FROM metabib.real_full_rec +--WHERE tag IN ('655') +--GROUP BY record; +-- +--\qecho +--\qecho This is a record attribute reingest of your bib records. +--\qecho It will take a while. +--\qecho You may cancel now without losing the effect of the rest of the +--\qecho upgrade script, and arrange the reingest later. +--SELECT COUNT(metabib.reingest_record_attributes(id)) +-- FROM biblio.record_entry WHERE deleted IS FALSE;