From: Bill Erickson Date: Thu, 14 Mar 2019 20:19:43 +0000 (-0400) Subject: JBAS-1832 Skip reporter simple record rebuild X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=08794e47d2a2da5659759322989efb41d13b63da;p=working%2FEvergreen.git JBAS-1832 Skip reporter simple record rebuild This step must be done after the display fields have been added as part of a bib reingest. Signed-off-by: Bill Erickson --- diff --git a/KCLS/sql/schema/deploy/3.2-additions.sql b/KCLS/sql/schema/deploy/3.2-additions.sql index d0b5592b2a..3e32311250 100644 --- a/KCLS/sql/schema/deploy/3.2-additions.sql +++ b/KCLS/sql/schema/deploy/3.2-additions.sql @@ -182,9 +182,13 @@ SELECT CLOCK_TIMESTAMP(), ------------------------------------------------------------------------------ -- REBUILD reporter.materialized_simple_record after the XACT is commited. +-- THIS MUST BE RUN AFTER REINGESTING BIB RECORDS BECAUSE IT RELIES +-- ON METABIB DISPLAY FIELDS TO REPOPULATE. +/* SELECT reporter.disable_materialized_simple_record_trigger(); SELECT CLOCK_TIMESTAMP(), 'Rebuilding reporter.materialized_simple_record...'; SELECT reporter.enable_materialized_simple_record_trigger(); SELECT CLOCK_TIMESTAMP(), 'Done rebuilding reporter.materialized_simple_record...'; +*/