Re: Postgres backend introspection and the 'public' schema

2017-07-26 Thread Nicholas FitzRoy-Dale
#x27;s are related tickets: > https://code.djangoproject.com/ticket/22673 - inspectdb doesn't support > database schema on postgresql with name different of "public" > https://code.djangoproject.com/ticket/6148 - Add generic support for > database schemas > > On T

Postgres backend introspection and the 'public' schema

2017-07-25 Thread Nicholas FitzRoy-Dale
Hi there, The Postgres introspection backend's get_constraints function will only pull in constraints from the 'public' schema* (https://github.com/django/django/blob/stable/1.11.x/django/db/backends/postgresql/introspection.py#L186). This has the effect that calling get_constraints() for a da