From: Dan Wells Date: Wed, 19 Mar 2014 01:15:25 +0000 (-0400) Subject: LP#1243023: Add optional quick reingest to upgrade script X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8e5dc73ba37421898f3d5d8bfa0e35b74715d8de;p=evergreen%2Fpines.git LP#1243023: Add optional quick reingest to upgrade script Signed-off-by: Dan Wells Signed-off-by: Ben Shum --- diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.function.oils_xpath-tweaks-for-newer-pg.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.function.oils_xpath-tweaks-for-newer-pg.sql index 14cd1a02ef..d017e75d5e 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.function.oils_xpath-tweaks-for-newer-pg.sql +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.function.oils_xpath-tweaks-for-newer-pg.sql @@ -601,3 +601,11 @@ END; $func$ LANGUAGE PLPGSQL; COMMIT; + +\qecho This script will now attempt a "quick fix" of browse_entry only. +\qecho If you have issues, a browse or full reingest is recommended. +\qecho You may cancel now without losing the effect of the rest of the +\qecho upgrade script, and arrange the reingest later. + +UPDATE metabib.browse_entry SET value=evergreen.xml_famous5_to_text(value) WHERE value LIKE '%&%'; +UPDATE metabib.browse_entry SET sort_value=evergreen.xml_famous5_to_text(sort_value) WHERE sort_value LIKE '%&%';