Opened 9 years ago

Closed 9 years ago

#6236 closed (duplicate)

PostgreSQL 8.3beta* Version error

Reported by: anonymous Owned by: nobody
Component: Database layer (models, ORM) Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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 Changed 9 years ago by Malcolm Tredinnick

Resolution: invalid
Status: newclosed

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.

comment:2 Changed 9 years ago by Gary Wilson

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 Changed 9 years ago by Malcolm Tredinnick

Resolution: invalid
Status: closedreopened

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 Changed 9 years ago by Simon Greenhill <dev@…>

Triage Stage: UnreviewedAccepted
Version: 0.96SVN

comment:5 Changed 9 years ago by Tom Vergote

closing #6433 in favor of this one

comment:6 Changed 9 years ago by Simon Greenhill <dev@…>

Resolution: duplicate
Status: reopenedclosed

Reversing tvrg's decision (sorry!) as #6433 has a patch already.

Note: See TracTickets for help on using tickets.
Back to Top