[Sqlalchemy-tickets] [sqlalchemy] #1556: eagerloading not populating backref on Text columns using
Brought to you by:
zzzeek
From: sqlalchemy <mi...@zz...> - 2009-09-25 19:39:27
|
#1556: eagerloading not populating backref on Text columns using PostgreSQL ----------------------+----------------------------------------------------- Reporter: guest | Owner: zzzeek Type: defect | Status: new Priority: low | Milestone: 0.5.7 Component: postgres | Severity: no triage selected yet Keywords: | Status_field: awaiting triage ----------------------+----------------------------------------------------- Started as "Text vs. PGText possible bug" on mailing list: http://groups.google.com/group/sqlalchemy/browse_thread/thread/974c7f88529bdebe Eagerloading A->B doesn't properly populate B's backref to A, when the key is of type Text. However defining the column as PGText or autoloading the table works around this problem. Attatched is a patch from Michael Bayer that fixes the problem. -- Ticket URL: <http://www.sqlalchemy.org/trac/ticket/1556> sqlalchemy <http://www.sqlalchemy.org/> The Database Toolkit for Python |