Avoid specific version mention for database extensions
authorDan Scott <dscott@laurentian.ca>
Sun, 23 Sep 2012 01:51:59 +0000 (21:51 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Thu, 25 Oct 2012 23:49:09 +0000 (19:49 -0400)
commitd4c2e93bf408191741ca668c1baae70bfdbe8e99
tree2d55a4b05e56b687756d5fead6887e4b541457e9
parent81f20bb285bdda845cf7ad4b54e974b85d33c8bb
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