You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem Description:
When there's base - one-to-one child - one to many with through kind of relationship, pgsync calls _non_through path for the one-to-one child which in turn tries to handle the one to many with through (which is a child of a first level one-to-one child) connection but fails,
PGSync version:
2.3.3
Postgres version:
NA
Elasticsearch version:
NA
Redis version:
NA
Python version:
NA
Problem Description:
When there's
base - one-to-one child - one to many with through
kind of relationship, pgsync calls_non_through
path for the one-to-one child which in turn tries to handle theone to many with through
(which is a child of a first level one-to-one child) connection but fails,It fails here, fails to find foreign keys
foreign_key_columns: list = self._get_column_foreign_keys( child._subquery.columns, foreign_keys, )
Maybe
self._get_column_foreign_keys
is not thorough enough to correctly link these entities in such a case.Thus rendering pgsync not usable for that kind of a schema.
Not sure where exactly to fix it.
Error Message (if any):
The text was updated successfully, but these errors were encountered: