trac v0.10.4-2 doesn't work with PostgreSQL v8.3

Bug #256042 reported by Karoly Molnar
6
Affects Status Importance Assigned to Milestone
The Trac Project
Fix Released
Unknown
trac (Debian)
Fix Released
Unknown
trac (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Hi,

Hardy ships with PostgreSQL v8.3 and Trac v0.10.4-2 and these two don't work together. This bug has a very detailed description on Debian and Trac and has been fixed for some time now. The issue is not present in the Trac version in Intrepid. It would be nice to fix the version in Hardy.

Links:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464168
http://trac.edgewall.org/ticket/6772
http://trac.edgewall.org/changeset/6416

Revision history for this message
Karoly Molnar (karoly-molnar) wrote :
Revision history for this message
Karoly Molnar (karoly-molnar) wrote :

I added the patch and uploaded the package to my PPA for testing http://ppa.launchpad.net/karoly-molnar/ubuntu

Revision history for this message
Karoly Molnar (karoly-molnar) wrote :

One more fix needed.

Links:
http://trac.edgewall.org/ticket/6776

A completely different solution is to use the unpatched Trac installation and execute the following against the database:
CREATE FUNCTION pg_catalog.text(integer) RETURNS text STRICT IMMUTABLE LANGUAGE SQL AS 'SELECT textin(int4out($1));'; CREATE CAST (integer AS text) WITH FUNCTION pg_catalog.text(integer) AS IMPLICIT;"

Revision history for this message
Karoly Molnar (karoly-molnar) wrote :

PPA is updated too ;-)

Jorge Castro (jorge)
Changed in trac:
importance: Undecided → Unknown
status: New → Unknown
Changed in trac:
status: Unknown → Fix Released
Changed in trac:
status: Unknown → Fix Released
Tim Hatch (timhatch)
Changed in trac (Ubuntu):
status: New → Confirmed
Revision history for this message
anatoly techtonik (techtonik) wrote :

So, how about to mark this as fixed?

Changed in trac (Ubuntu):
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.