Opened 8 years ago

Closed 8 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:


Line 57 of django/db/backends/postgresql_psycopg2/ 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 8 years ago by mtredinnick

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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 8 years ago by gwilson

Although, SVN does appear to use the same code which now lives in [source:/django/trunk/django/db/backends/postgresql/].

comment:3 Changed 8 years ago by mtredinnick

  • Resolution invalid deleted
  • Status changed from closed to 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 Changed 8 years ago by Simon Greenhill <dev@…>

  • Triage Stage changed from Unreviewed to Accepted
  • Version changed from 0.96 to SVN

comment:5 Changed 8 years ago by tvrg

closing #6433 in favor of this one

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

  • Resolution set to duplicate
  • Status changed from reopened to closed

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

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