From: Dan Scott Date: Sun, 7 Dec 2014 12:18:37 +0000 (-0500) Subject: Prefer a metabib reingest that is not a single transaction X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Ffeatures%2F2.4-to-2.7;p=contrib%2FConifer.git Prefer a metabib reingest that is not a single transaction At least this way we can keep the doors open for business while the reingest goes on. Signed-off-by: Dan Scott --- diff --git a/Open-ILS/src/sql/Pg/upgrade/conifer_2_4-to_2_7.sql b/Open-ILS/src/sql/Pg/upgrade/conifer_2_4-to_2_7.sql index cc63aa44c6..6683cdf6e6 100644 --- a/Open-ILS/src/sql/Pg/upgrade/conifer_2_4-to_2_7.sql +++ b/Open-ILS/src/sql/Pg/upgrade/conifer_2_4-to_2_7.sql @@ -25876,18 +25876,11 @@ COMMIT; \qecho \qecho '\\t' \qecho '\\o /tmp/reingest-2.4.1.sql' -\qecho 'SELECT ''select metabib.reingest_metabib_field_entries('' || id || '');'' FROM biblio.record_entry WHERE NOT DELETED AND id > 0;' +\qecho 'SELECT ''select metabib.reingest_metabib_field_entries('' || id || '', TRUE, FALSE, TRUE);'' FROM biblio.record_entry WHERE NOT DELETED AND id > 0;' \qecho '\\o' \qecho '\\t' \qecho -\qecho This is a browse-only reingest of your bib records. It may 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. -\qecho . -SELECT metabib.reingest_metabib_field_entries(id, TRUE, FALSE, TRUE) - FROM biblio.record_entry; - -- Not running ARRAY_ACCUM() changes from example.reporter-extension.sql since these are -- not installed by default, but including a helpful note.