Use pingest.pl for reingests to avoid 44-hour upgrades
authorDan Scott <dscott@laurentian.ca>
Sun, 4 Sep 2016 20:15:16 +0000 (16:15 -0400)
committerDan Scott <dscott@laurentian.ca>
Sun, 4 Sep 2016 20:15:16 +0000 (16:15 -0400)
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/sql/Pg/version-upgrade/2.9.3-2.10.0-upgrade-db.sql

index 9ed7e22..0a09a19 100644 (file)
@@ -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;