]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Avoid specific version mention for database extensions
authorDan Scott <dscott@laurentian.ca>
Sun, 23 Sep 2012 01:51:59 +0000 (21:51 -0400)
committerDan Scott <dscott@laurentian.ca>
Fri, 26 Oct 2012 22:45:20 +0000 (18:45 -0400)
commit40e0fcad6b3c5a102ca7569a7a9978ae6a400172
tree23824d3004a75c51ae599d8254bd2abd8f324750
parent66ea9fe2da42bd55b2c1100d12ca4cd2e2615649
Avoid specific version mention for database extensions

As tsbere pointed out, the 9.1 database script will be used for every
version after 9.1... which makes it confusing to have a version number.
As the primary reason for the difference is the switch to extensions
instead of contrib modules, use a name that flags that difference.

Convert the 9.1 full-text search configuration into a symbolic link
instead of maintaining a separate copy of the file.

Given that the pre-9.1 database script was focused on the creation of
PostgreSQL contribs, call it that, rather than the (now confusingly)
generic "create_database.sql" that existed from a time when contribs
ruled the earth and extensions were mere fantasy.

Adjust eg_db_config.sql for these changes as well - including the
command line switches.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/src/sql/Pg/000.english.pg91.fts-config.sql [changed from file to symlink]
Open-ILS/src/sql/Pg/create_database.sql [deleted file]
Open-ILS/src/sql/Pg/create_database_9_1.sql [deleted file]
Open-ILS/src/sql/Pg/create_database_contribs.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/create_database_extensions.sql [new file with mode: 0644]
Open-ILS/src/support-scripts/eg_db_config.pl