#2907: unicode merge broke PostgreSQL support
--------------------------------+-------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: general | Version: devel
Severity: normal | Resolution:
Keywords: |
--------------------------------+-------------------------------------------
Comment (by anonymous):
I've got these installed under Debian/unstable:
python2.3-pgsql 2.4.0-7
python2.3-psycopg 1.1.21-4
Another, similar, error is in wiki/model.py, around line 51. In the calls
to cursor.execute, name needs to be quoted, this worked for me:
util.unicode_quote(name)
Additionally, above, it should probably be 'unicode_quote(parent_id)'
instead of 'str(unicode(parent_id))'
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2907>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets