After changing something, it's working for me too now.

The request used for postgresql autoload is:

SELECT conname, pg_catalog.pg_get_constraintdef(oid, true) as condef
FROM  pg_catalog.pg_constraint r
WHERE r.conrelid = 30554 AND r.contype = 'f'
ORDER BY 1

... and the result depends on the current postgresql search_path:

If the table is found in search_path then result is
'referer_ref_fkey', 'FOREIGN KEY (ref) REFERENCES subject(id)'

else the schema is prefixed:
'referer_ref_fkey";"FOREIGN KEY (ref) REFERENCES jdu.subject(id)'




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
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