Create Database via eg_db_config.pl

Bug #828878 reported by Thomas Berezansky
6
This bug affects 1 person
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.

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/tsbere/create_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.evergreen-ils.org/working/Evergreen
 Read-write (ssh protocol):
  git remote add working <email address hidden>:working/Evergreen

Once you have the remote added you can check out this branch:
git co -b create_database working/user/tsbere/create_database

Tags: pullrequest
Revision history for this message
Dan Scott (denials) wrote :

I updated the README to reflect the changes this brings to the install process, then committed the branch to master. Fine work, Thomas!

Changed in evergreen:
assignee: nobody → Dan Scott (denials)
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.