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

Evergreen Git git at git.evergreen-ils.org
Tue Jan 8 11:29:46 EST 2019


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  eaca9cd603da425a82ad478c7798645ea45c2178 (commit)
      from  58d7812bdb4b51be08bcac1522282841c056bfac (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 eaca9cd603da425a82ad478c7798645ea45c2178
Author: Bill Erickson <berickxx at gmail.com>
Date:   Mon Jan 7 10:49:28 2019 -0500

    LP1810802 org_top() SQL upgrade repairs
    
    1. Drop the org_top function before recreating it since the return type
    changes.
    
    2. Fis syntax error in "COMMIT:"
    
    Signed-off-by: Bill Erickson <berickxx at gmail.com>
    Signed-off-by: Jason Stephenson <jason at sigio.com>

diff --git a/Open-ILS/src/sql/Pg/upgrade/1140.function.non-set-returning-evergreen.org_top.sql b/Open-ILS/src/sql/Pg/upgrade/1140.function.non-set-returning-evergreen.org_top.sql
index c7ff647..105136c 100644
--- a/Open-ILS/src/sql/Pg/upgrade/1140.function.non-set-returning-evergreen.org_top.sql
+++ b/Open-ILS/src/sql/Pg/upgrade/1140.function.non-set-returning-evergreen.org_top.sql
@@ -2,9 +2,11 @@ BEGIN;
 
 SELECT evergreen.upgrade_deps_block_check('1140', :eg_version);
 
+DROP FUNCTION IF EXISTS evergreen.org_top();
+
 CREATE OR REPLACE FUNCTION evergreen.org_top()
 RETURNS actor.org_unit AS $$
     SELECT * FROM actor.org_unit WHERE parent_ou IS NULL LIMIT 1;
 $$ LANGUAGE SQL STABLE;
 
-COMMIT:
+COMMIT;

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

Summary of changes:
 ...unction.non-set-returning-evergreen.org_top.sql |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list