I have a parent table called ABC in postgres 9.3 db
and about 1000 tables inherit ABC
ABC_1
ABC_2
...
ABC_1002
since index on parent table doesn't affect child table, I have to create indexes on them separately.
Is there any batch way to automate index creating on these tables ?