Postgres casting issues with 'deleted' column updates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Dan Prince |
Bug Description
I'm getting a variety of casting issues when running smoke tests with Postgres. Several calls in the DB api throw exceptions like:
LINE 1: ...='2011-
HINT: You will need to rewrite or cast the expression.
'UPDATE key_pairs SET updated_
---
We need to update several of the DB API calls so that they use True/False instead of 0/1 when updating the 'deleted' column attributes.
Related branches
- Ed Leafe (community): Approve
- Devin Carlen (community): Approve
-
Diff: 74 lines (+9/-9)1 file modifiednova/db/sqlalchemy/api.py (+9/-9)
Changed in nova: | |
status: | New → In Progress |
assignee: | nobody → Dan Prince (dan-prince) |
Changed in nova: | |
importance: | Undecided → Medium |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-2 |
Changed in nova: | |
milestone: | diablo-2 → 2011.3 |
status: | Fix Committed → Fix Released |