duplicate tables when partition of tables exist
I have partition table using inheritance in PostgreSQL. For those tables the tables query is retrieving them twice one with parent null and other with parent populated. This is making the massive to fail with duplicate error while attaching the primarykey