On Tuesday, August 13, 2013 7:43:54 PM UTC-4, Michael Bayer wrote:
>
> cross-schema reflection is supported on PG but has caveats, see 
> http://docs.sqlalchemy.org/en/rel_0_8/dialects/postgresql.html#remote-cross-schema-table-introspectionfor
>  a discussion of recommended usage patterns.
>
>
>
>
Thanks for pointing out that page. I also needed to add the schema to the 
foreign key declarations.
 eg Column(Integer, ForeignKey('otherschema.othertable.id')) instead of 
Column(Integer, ForeignKey('othertable.id'))

-- Jason

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to