Closed nvictor closed 8 years ago
OK, I was able to reproduce the problem. I'll try to take a closer look tomorrow at what's causing it.
thanks : )
OK, the problem stems from the queries in dbtype.py
and constraint.py
. In the former case, we exclude objects that are owned by extensions--see the lines:
AND t.oid NOT IN (
SELECT objid FROM pg_depend WHERE deptype = 'e'
AND classid = 'pg_type'::regclass)
In the latter case, we do not have a similar exclusion clause. This was the case when I first added support for extensions (it seems like ages ago) in commit 595f1f26. I'm going to have to see if we can add a similar exclusion clause to the constraints query.
Joe, you are awesome!
Thanks, Victor.
Joe,
Thank you for your feedback earlier. I isolated my issue to one pre-defined extension in PostgreSQL. And I easily reproduced the issue with a new test database by doing:
Now when I edit
pyrseas.dbobject.dbtype.TypeDict.link_refs
to look like the following:it works.
Any help will be appreciated.
Thanks!