[open-ils-commits] [GIT] Evergreen ILS branch master updated. b417d5a57dc26b3180af17097349a3224a5e50cb

Evergreen Git git at git.evergreen-ils.org
Wed May 1 15:04:21 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, master has been updated
       via  b417d5a57dc26b3180af17097349a3224a5e50cb (commit)
       via  383e99e07ee3e1e8a27deafbb31663d4fc50e231 (commit)
      from  749917f0321016a0959e876dc2601a34b1afbeea (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 b417d5a57dc26b3180af17097349a3224a5e50cb
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 383e99e07ee3e1e8a27deafbb31663d4fc50e231
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