[open-ils-commits] [GIT] Evergreen ILS branch rel_2_4 updated. 788ccaeeab5ea5a38bd48433f69ffe8c1368fb6d

Evergreen Git git at git.evergreen-ils.org
Wed Oct 9 09:08:34 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  788ccaeeab5ea5a38bd48433f69ffe8c1368fb6d (commit)
      from  bb6b0992b760cf98ba7481ee704b3357cb89dba7 (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 788ccaeeab5ea5a38bd48433f69ffe8c1368fb6d
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 7c94387..acf03d4 100644
--- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql
+++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql
@@ -175,7 +175,7 @@ INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath,
 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, browse_field) VALUES
     (30, 'identifier', 'lccn', oils_i18n_gettext(30, 'LC Control Number', 'cmf', 'label'), 'marcxml', $$//marc:datafield[@tag='010']/marc:subfield[@code="a" or @code='z']$$, FALSE);
 
-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