-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73919/
-----------------------------------------------------------
Review request for ranger, Abhay Kulkarni, Madhan Neethiraj, Ramesh Mani,
Sailaja Polavarapu, and Velmurugan Periasamy.
Bugs: RANGER-3485
https://issues.apache.org/jira/browse/RANGER-3485
Repository: ranger
Description
-------
**Problem statement:** only for postgres db flavor db setup scripts converts
the db user name to lowercase during setup. if any one has pre-created user in
uppercase then he may not able to install ranger because ranger db schema
creation may fail.
**Proposed solution:** Postgres DB allows creation of user in non small case
format also, but such string should be provided within the '"'{doublequote)
character.
This patch change the db script and sql queries and passes the db user name
within the '"'{doublequote) character.
Diffs
-----
kms/scripts/db_setup.py 25480257a
kms/scripts/dba_script.py 14e6ff88c
kms/scripts/setup.sh b5a6e719d
security-admin/scripts/db_setup.py ff54956b9
security-admin/scripts/dba_script.py e7567a3f7
security-admin/scripts/setup.sh 8ba8e9a7b
Diff: https://reviews.apache.org/r/73919/diff/1/
Testing
-------
Tested for fresh install(small/caps/camelcase) and upgrade(only small case)
Thanks,
Pradeep Agrawal