Opened 18 years ago
Closed 18 years ago
#6236 closed (duplicate)
PostgreSQL 8.3beta* Version error
| Reported by: | anonymous | Owned by: | nobody |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Accepted | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Line 57 of django/db/backends/postgresql_psycopg2/base.py creates a list of version numbers for the installed postgresql version. If the version contains alpha chars the int() call obviously fails. I noticed it doesn't appear to be an issue in SVN version.
Change History (6)
comment:1 by , 18 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:2 by , 18 years ago
Although, SVN does appear to use the same code which now lives in [source:/django/trunk/django/db/backends/postgresql/operations.py#6949].
comment:3 by , 18 years ago
| Resolution: | invalid |
|---|---|
| Status: | closed → reopened |
So you're saying it is a problem on trunk, then? Reopening will help us remember to fix it, I guess. :-)
I don't have a beta version of !PostgreSQL installed to test against, so relying on others a bit here.
comment:4 by , 18 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|---|
| Version: | 0.96 → SVN |
comment:6 by , 18 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | reopened → closed |
Reversing tvrg's decision (sorry!) as #6433 has a patch already.
If this isn't a bug in current subversion's trunk, then that's all we can do. 0.96 was a snapshot of a moment in time. We only update it with security fixes.