Remove unnecessary outer join in PG enums reflection query
Issue #2510
resolved
I missed this in #2473: the query for enums also outer-joins pg_constraint without using any columns from it.
Removing this takes each table reflection from 1-2 seconds down to 160 ms in our production DB (which has a fairly unusual number of objects).
Patch attached.
Comments (5)
-
Account Deleted -
Account Deleted Patch against rel_0_7
-
repo owner - changed milestone to 0.7.8
-
repo owner - changed status to resolved
-
repo owner - removed milestone
Removing milestone: 0.7.8 (automated comment)
- Log in to comment
Patch against default branch