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>
Sun, 23 Sep 2012 02:11:27 +0000 (22:11 -0400)
commit75121fc8e32be743d0173477b21f567e1500d0d2
tree5b7a3c5e12db39c026cf509f079463cfb06d5932
parent4a2a2d03991ec30a2a61d71dca690b90ac84a30a
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>
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