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

Evergreen Git git at git.evergreen-ils.org
Wed Oct 9 09:06:54 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  3f1e692d14418422ff3f1bf03918d6b4087e3a76 (commit)
      from  741c1140d76f5d604d9926bcbc52662173ca1b3b (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 3f1e692d14418422ff3f1bf03918d6b4087e3a76
Author: Jason Stephenson <jstephenson at mvlc.org>
Date:   Thu May 9 15:33:04 2013 -0400

    Set config.metabib_field_id_seq to 1000 in 950.data.seed-values.sql.
    
    Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
    
    Boosted to 1000 as suggested by Dan Scott and seconded by Bill
    Erickson.
    
    Signed-off-by: Dan Wells <dbw2 at calvin.edu>

diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql
index 4bdfffc..2fdb669 100644
--- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql
+++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql
@@ -179,7 +179,7 @@ INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath,
 
 UPDATE config.metabib_field SET joiner = ' -- ' WHERE field_class = 'subject' AND name NOT IN ('name', 'complete');
 
-SELECT SETVAL('config.metabib_field_id_seq'::TEXT, (SELECT MAX(id) FROM config.metabib_field), TRUE);
+SELECT SETVAL('config.metabib_field_id_seq', GREATEST(1000, (SELECT MAX(id) FROM config.metabib_field)));
 
 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('kw','keyword');
 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('eg.keyword','keyword');

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

Summary of changes:
 Open-ILS/src/sql/Pg/950.data.seed-values.sql |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list