[open-ils-commits] [GIT] Evergreen ILS branch master updated. ab489beb66184572005a739aa975553bb3736073
Evergreen Git
git at git.evergreen-ils.org
Wed Apr 17 14:35:24 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 ab489beb66184572005a739aa975553bb3736073 (commit)
via 495257a54739b619c95477843746a597128a7b71 (commit)
from e4e8dda3b09ce11acc85cb526c22c1c99b0d8589 (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 ab489beb66184572005a739aa975553bb3736073
Author: Jason Stephenson <jstephenson at mvlc.org>
Date: Wed Apr 17 14:33:48 2013 -0400
Stamping upgrade script for reinstate tsconfigs.
Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql
index e0aea4c..946ac79 100644
--- a/Open-ILS/src/sql/Pg/002.schema.config.sql
+++ b/Open-ILS/src/sql/Pg/002.schema.config.sql
@@ -91,7 +91,7 @@ CREATE TRIGGER no_overlapping_deps
BEFORE INSERT OR UPDATE ON config.db_patch_dependencies
FOR EACH ROW EXECUTE PROCEDURE evergreen.array_overlap_check ('deprecates');
-INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0788', :eg_version); -- bshum/dbwells
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0789', :eg_version); -- miker/dyrcona
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.reinstate-tsconfigs.sql b/Open-ILS/src/sql/Pg/upgrade/0789.schema.reinstate-tsconfigs.sql
similarity index 73%
rename from Open-ILS/src/sql/Pg/upgrade/XXXX.schema.reinstate-tsconfigs.sql
rename to Open-ILS/src/sql/Pg/upgrade/0789.schema.reinstate-tsconfigs.sql
index 9dad01d..3395487 100644
--- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.reinstate-tsconfigs.sql
+++ b/Open-ILS/src/sql/Pg/upgrade/0789.schema.reinstate-tsconfigs.sql
@@ -1,6 +1,6 @@
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+SELECT evergreen.upgrade_deps_block_check('0789', :eg_version);
--- These can be run outside of a transaction
+-- These can and should be run outside of a transaction
CREATE TEXT SEARCH CONFIGURATION title ( COPY = english_nostop );
CREATE TEXT SEARCH CONFIGURATION author ( COPY = english_nostop );
CREATE TEXT SEARCH CONFIGURATION subject ( COPY = english_nostop );
commit 495257a54739b619c95477843746a597128a7b71
Author: Mike Rylander <mrylander at gmail.com>
Date: Wed Apr 17 14:04:11 2013 -0400
Reinstate required TEXT SEARCH CONFIGURATION data
Signed-off-by: Mike Rylander <mrylander at gmail.com>
Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
diff --git a/Open-ILS/src/sql/Pg/000.english.pg91.fts-config.sql b/Open-ILS/src/sql/Pg/000.english.pg91.fts-config.sql
index 0419aa7..8bae23e 100644
--- a/Open-ILS/src/sql/Pg/000.english.pg91.fts-config.sql
+++ b/Open-ILS/src/sql/Pg/000.english.pg91.fts-config.sql
@@ -45,12 +45,12 @@ ALTER TEXT SEARCH CONFIGURATION ' || lang || '_nostop ALTER MAPPING FOR asciiwor
END LOOP;
END;
$$;
---CREATE TEXT SEARCH CONFIGURATION title ( COPY = english_nostop );
---CREATE TEXT SEARCH CONFIGURATION author ( COPY = english_nostop );
---CREATE TEXT SEARCH CONFIGURATION subject ( COPY = english_nostop );
+CREATE TEXT SEARCH CONFIGURATION title ( COPY = english_nostop );
+CREATE TEXT SEARCH CONFIGURATION author ( COPY = english_nostop );
+CREATE TEXT SEARCH CONFIGURATION subject ( COPY = english_nostop );
CREATE TEXT SEARCH CONFIGURATION keyword ( COPY = english_nostop );
---CREATE TEXT SEARCH CONFIGURATION identifier ( COPY = english_nostop );
---CREATE TEXT SEARCH CONFIGURATION series ( COPY = english_nostop );
+CREATE TEXT SEARCH CONFIGURATION identifier ( COPY = english_nostop );
+CREATE TEXT SEARCH CONFIGURATION series ( COPY = english_nostop );
CREATE TEXT SEARCH CONFIGURATION "default" ( COPY = english_nostop );
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.reinstate-tsconfigs.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.reinstate-tsconfigs.sql
new file mode 100644
index 0000000..9dad01d
--- /dev/null
+++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.reinstate-tsconfigs.sql
@@ -0,0 +1,8 @@
+SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+-- These can be run outside of a transaction
+CREATE TEXT SEARCH CONFIGURATION title ( COPY = english_nostop );
+CREATE TEXT SEARCH CONFIGURATION author ( COPY = english_nostop );
+CREATE TEXT SEARCH CONFIGURATION subject ( COPY = english_nostop );
+CREATE TEXT SEARCH CONFIGURATION series ( COPY = english_nostop );
+CREATE TEXT SEARCH CONFIGURATION identifier ( COPY = english_nostop );
-----------------------------------------------------------------------
Summary of changes:
.../src/sql/Pg/000.english.pg91.fts-config.sql | 10 +++++-----
Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +-
.../Pg/upgrade/0789.schema.reinstate-tsconfigs.sql | 8 ++++++++
3 files changed, 14 insertions(+), 6 deletions(-)
create mode 100644 Open-ILS/src/sql/Pg/upgrade/0789.schema.reinstate-tsconfigs.sql
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list