OIDs in user tables are deprecated in postgresql 8.1 (and relying on them has been discouraged for many versions now).
 
http://www.postgresql.org/docs/current/static/datatype-oid.html
 
How heavily does SA rely on rowids?
 
Foo.selectone(foo.select(foo.c.id==1))
 
generates sql that only depends on the PK id, but
 
Foo.get(1)
 
dies complaining of oid absence.  Seems strange that get doesn't use a known PK.

--
Jonathan Ellis
http://spyced.blogspot.com

Reply via email to