Skip to content

Fixed casing in db creation script. #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Fixed casing in db creation script. #8

wants to merge 1 commit into from

Conversation

seiferma
Copy link

The CREATE USER command in psql is not case sensitive. If you enter a name that includings upper case characters they will be converted to lower case characters. For a user of the multiple databases script, it is hard to find the cause of the error because the output always states that there is not role/database called like the value given in the environment variable.

I added quotes to preserve the casing and avoid confusing results.

@mrts
Copy link
Owner

mrts commented Dec 20, 2017

Thanks for the merge request!

However, this may cause problems, see #5. The workaround is documented in README, see Non-standard database names.

@mrts mrts closed this Dec 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants