Django

Code

Ticket #6236 (closed: duplicate)

Opened 1 year ago

Last modified 11 months ago

PostgreSQL 8.3beta* Version error

Reported by: anonymous Assigned to: nobody
Milestone: Component: Database layer (models, ORM)
Version: SVN Keywords:
Cc: Triage Stage: Accepted
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

Change History

12/18/07 21:38:24 changed by mtredinnick

  • status changed from new to closed.
  • needs_better_patch changed.
  • resolution set to invalid.
  • needs_tests changed.
  • needs_docs changed.

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.

12/18/07 22:22:14 changed by gwilson

Although, SVN does appear to use the same code which now lives in /django/trunk/django/db/backends/postgresql/operations.py#6949.

12/18/07 22:30:20 changed by mtredinnick

  • status changed from closed to reopened.
  • resolution deleted.

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.

01/13/08 07:48:10 changed by Simon Greenhill <dev@simon.net.nz>

  • version changed from 0.96 to SVN.
  • stage changed from Unreviewed to Accepted.

01/21/08 11:02:30 changed by tvrg

closing #6433 in favor of this one

01/21/08 19:27:57 changed by Simon Greenhill <dev@simon.net.nz>

  • status changed from reopened to closed.
  • resolution set to duplicate.

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


Add/Change #6236 (PostgreSQL 8.3beta* Version error)




Change Properties
Action