How to restore some table from pg_dump custom format, and automatically create it's index ?
I just restore some tables from database dump (custom format).
pg_restore -d database --table=table1 --table=table2 --table=table3 dumpdatabase.dmp
This result tables with no index. I have to create manually each of them. How to automatically create it's index with pg_restore command ?