Create Database via eg_db_config.pl
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Evergreen | Status tracked in Main | |||||
Main |
Fix Released
|
Undecided
|
Dan Scott |
Bug Description
For easier testing of full schema creation on a clean database eg_db_config.pl should be able to create the database, provided it is given a superuser username/password.
The branch below adds a --create-database parameter to eg_db_config.pl to facilitate this.
Note that the postgresql contrib files must be present on the local machine, not the server you are connecting to, for the command to work. eg_db_config.pl will only complain if it can't find them if you are creating the database.
You need only add the remote once, regardless of how many branches you wish to look at.
To add this repo as working:
Read-only (git protocol):
git remote add working git://git.
Read-write (ssh protocol):
git remote add working <email address hidden>
Once you have the remote added you can check out this branch:
git co -b create_database working/
I updated the README to reflect the changes this brings to the install process, then committed the branch to master. Fine work, Thomas!