-- POST UPGRADE DATA UPDATES.
----------------------------------------------------------------------------
--- TODO: EXTERNAL BIB FULL RE-INGEST
-
--- TODO: run all in transaction for testing -- remove transactions later.
-
--- Remove trigger on biblio.record_entry
-SELECT CLOCK_TIMESTAMP(), 'Rebuilding materialized simple record';
-SELECT reporter.disable_materialized_simple_record_trigger();
-
--- Rebuild reporter.materialized_simple_record
-SELECT reporter.enable_materialized_simple_record_trigger();
-
-
DROP TRIGGER IF EXISTS a_opac_vis_mat_view_tgr ON biblio.peer_bib_copy_map;
DROP TRIGGER IF EXISTS a_opac_vis_mat_view_tgr ON biblio.record_entry;
DROP TRIGGER IF EXISTS a_opac_vis_mat_view_tgr ON asset.copy;