Avoid specific version mention for database extensions
authorDan Scott <dscott@laurentian.ca>
Sun, 23 Sep 2012 01:51:59 +0000 (21:51 -0400)
committerMichael Peters <mrpeters@library.in.gov>
Thu, 8 Nov 2012 19:17:50 +0000 (14:17 -0500)
commit2e892891a2fb8258dd01320497b2cf027cef1d0e
tree23824d3004a75c51ae599d8254bd2abd8f324750
parent1c95829502fb7e3654929f34cfbcbfa012599c88
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