Opened 17 years ago

Closed 17 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 Malcolm Tredinnick, 17 years ago

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 by Gary Wilson, 17 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 Malcolm Tredinnick, 17 years ago

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

Triage Stage: UnreviewedAccepted
Version: 0.96SVN

comment:5 by Tom Vergote, 17 years ago

closing #6433 in favor of this one

comment:6 by Simon Greenhill <dev@…>, 17 years ago

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