Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#2167 closed defect (fixed)

trac-0.9b2's psycopg connection doesn't take port into account

Reported by: allanvv@… Owned by: Christopher Lenz
Priority: normal Milestone: 0.9.1
Component: general Version: 0.9b2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:

Description (last modified by Christopher Lenz)

The code forgets to append port= to the dsn string passed to psycopg. Adding:

            if port:
                dsn.append("port = %d" % (port, ))

to line 359 fixes it.

Attachments (0)

Change History (3)

comment:1 by anonymous, 14 years ago

Whoops, should have previewed first.

            if port:
                dsn.append("port = %d" % (port, ))

comment:2 by Christopher Lenz, 14 years ago

Description: modified (diff)
Milestone: 0.9.1
Owner: changed from Jonas Borgström to Christopher Lenz
Status: newassigned

This is fixed in trunk, but should be ported to 0.9-stable.

comment:3 by Christopher Lenz, 14 years ago

Resolution: fixed
Status: assignedclosed

Fixed for 0.9.x in [2575].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to as closed The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.