Code

Opened 6 years ago

Closed 6 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.

Attachments (0)

Change History (6)

comment:1 Changed 6 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 6 years ago by gwilson

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

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

comment:5 Changed 6 years ago by tvrg

closing #6433 in favor of this one

comment:6 Changed 6 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.