Quote Postgres names to avoid implicit conversion
Bug #1412568 reported by
Petr Malik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Fix Released
|
Medium
|
Petr Malik |
Bug Description
In PostgreSQL unquoted names are case-insensitive. However, quoted names are case-sensivite.
Unquoted names are implicitly lowercased!
Trove guestagent currently uses unquoted names leading to inproper behavior when the user actually uses names with uppercase letters.
Example:
trove user-create <id> USERNAME <password>
trove user-show <id> USERNAME
results in a 404 error - user not found on instance, because the user created is actually "username".
Changed in trove: | |
assignee: | nobody → Petr Malik (pmalik) |
status: | New → In Progress |
Changed in trove: | |
importance: | Undecided → Medium |
milestone: | none → kilo-2 |
Changed in trove: | |
status: | Fix Committed → Fix Released |
Changed in trove: | |
milestone: | kilo-2 → 2015.1.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/148378
Review: https:/