[open-ils-commits] [GIT] Evergreen ILS branch rel_2_4 updated. 4c3ffb7d7952337e5327644c9f518690c4f750aa

Evergreen Git git at git.evergreen-ils.org
Wed May 1 15:04:51 EDT 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_2_4 has been updated
       via  4c3ffb7d7952337e5327644c9f518690c4f750aa (commit)
       via  818d75d905bd17dd558c3e31ff8f4b0749d83554 (commit)
      from  a2da96edb9d4f22c6d2a1582a77002c5a2023497 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4c3ffb7d7952337e5327644c9f518690c4f750aa
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Wed May 1 15:01:30 2013 -0400

    LP#1174359: follow-up on dropping the reporter.classic_item_list view
    
    Add note for the benefit of any Evergreen admin who may
    need to recreate that view.  Also, update the point schema
    update script.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

diff --git a/Open-ILS/src/sql/Pg/upgrade/0743.schema.remove_tsearch2.sql b/Open-ILS/src/sql/Pg/upgrade/0743.schema.remove_tsearch2.sql
index 062e5a2..eab7d7d 100644
--- a/Open-ILS/src/sql/Pg/upgrade/0743.schema.remove_tsearch2.sql
+++ b/Open-ILS/src/sql/Pg/upgrade/0743.schema.remove_tsearch2.sql
@@ -15,6 +15,11 @@ DROP FUNCTION IF EXISTS biblio.flatten_marc(text);
 -- These views depend on metabib.full_rec as well. Bye-bye!
 DROP VIEW IF EXISTS reporter.old_super_simple_record;
 DROP VIEW IF EXISTS reporter.simple_record;
+DROP VIEW IF EXISTS reporter.classic_item_list;
+
+\echo WARNING: The reporter.classic_item_list view was dropped if it existed.
+\echo If you use that view, please run the example.reporter-extension.sql script
+\echo to recreate it after rest of the schema upgrade is complete.
 
 -- Now we can drop metabib.full_rec.
 DROP VIEW IF EXISTS metabib.full_rec;
diff --git a/Open-ILS/src/sql/Pg/version-upgrade/2.3-2.4.0RC-upgrade-db.sql b/Open-ILS/src/sql/Pg/version-upgrade/2.3-2.4.0RC-upgrade-db.sql
index 8c122c4..8d957db 100644
--- a/Open-ILS/src/sql/Pg/version-upgrade/2.3-2.4.0RC-upgrade-db.sql
+++ b/Open-ILS/src/sql/Pg/version-upgrade/2.3-2.4.0RC-upgrade-db.sql
@@ -64,6 +64,10 @@ DROP VIEW IF EXISTS reporter.old_super_simple_record;
 DROP VIEW IF EXISTS reporter.simple_record;
 DROP VIEW IF EXISTS reporter.classic_item_list;
 
+\echo WARNING: The reporter.classic_item_list view was dropped if it existed.
+\echo If you use that view, please run the example.reporter-extension.sql script
+\echo to recreate it after rest of the schema upgrade is complete.
+
 -- Now we can drop metabib.full_rec.
 DROP VIEW IF EXISTS metabib.full_rec;
 

commit 818d75d905bd17dd558c3e31ff8f4b0749d83554
Author: Michael Peters <mpeters at emeralddata.net>
Date:   Mon Apr 29 11:14:39 2013 -0400

    LP#1174359 Need to drop reporter.classic_item_list
    
    ERROR: cannot drop view metabib.full_rec because other objects depend on it
    DETAIL: view reporter.classic_item_list depends on view metabib.full_rec
    HINT: Use DROP ... CASCADE to drop the dependent objects too.
    
    Beginning at line 55 of the upgrade script, several views and functions are dropped
    so metabib.full_rec can be dropped. One of them is missing.
    
    We need to drop reporter.classic_item_list as well, for the script to work.
    
    Signed-off-by: Michael Peters <mpeters at emeralddata.net>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

diff --git a/Open-ILS/src/sql/Pg/version-upgrade/2.3-2.4.0RC-upgrade-db.sql b/Open-ILS/src/sql/Pg/version-upgrade/2.3-2.4.0RC-upgrade-db.sql
index 9e31d3b..8c122c4 100644
--- a/Open-ILS/src/sql/Pg/version-upgrade/2.3-2.4.0RC-upgrade-db.sql
+++ b/Open-ILS/src/sql/Pg/version-upgrade/2.3-2.4.0RC-upgrade-db.sql
@@ -62,6 +62,7 @@ DROP FUNCTION IF EXISTS biblio.flatten_marc(text);
 -- These views depend on metabib.full_rec as well. Bye-bye!
 DROP VIEW IF EXISTS reporter.old_super_simple_record;
 DROP VIEW IF EXISTS reporter.simple_record;
+DROP VIEW IF EXISTS reporter.classic_item_list;
 
 -- Now we can drop metabib.full_rec.
 DROP VIEW IF EXISTS metabib.full_rec;

-----------------------------------------------------------------------

Summary of changes:
 .../sql/Pg/upgrade/0743.schema.remove_tsearch2.sql |    5 +++++
 .../Pg/version-upgrade/2.3-2.4.0RC-upgrade-db.sql  |    5 +++++
 2 files changed, 10 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list