#718016 by andypost and Damien Tournoud: Fixed DatabaseSchema_pgsql()::renameTable() needs to rename the indexes.