eagerloading not populating backref on Text columns using PostgreSQL

Issue #1556 resolved
Former user created an issue

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.

Comments (3)

  1. Log in to comment