GitHub user dangogh opened a pull request: https://github.com/apache/incubator-trafficcontrol/pull/198
TO - postgres update for db/admin.pl simplifies process for creating roles/databases for dev modes (development, test, ...). When using `db/admin.pl --env=<mode> createdb`, will create role for mode if it doesn't exist with password supplied in the appropriate conf first. You can merge this pull request into a Git repository by running: $ git pull https://github.com/dangogh/incubator-trafficcontrol admin-createdb Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-trafficcontrol/pull/198.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #198 ---- commit 3d432154dd1c47df9ca82e8555f28dc9b61b5c26 Author: Dan Kirkwood <dang...@gmail.com> Date: 2017-01-16T23:04:28Z createuser creates db and sets perms in psql commit c104ceffcc209e8a6c0a745bf1b1c442202f92bd Author: Dan Kirkwood <dang...@gmail.com> Date: 2017-01-18T22:32:06Z createdb creates user if doesn't exist; relies on user connected as db admin ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---