As I mentioned, just use single table inheritance against Parent -> ChildX, Y.  
  There are no other special settings on the SQLAlchemy side other than 
"implicit_returning=False" for the Table as PG's INHERITS doesn't seem to do 
what's expected for "RETURNING parent.id".

Full example, which is mostly copied from PG's docs at 
http://www.postgresql.org/docs/9.0/static/ddl-partitioning.html#DDL-PARTITIONING-IMPLEMENTATION,
 at:

http://www.sqlalchemy.org/trac/wiki/UsageRecipes/PostgreSQLInheritance


-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to