My old hard drive went a bit screwy. Something about bad sectors. So it was copied (sans a few bad files in my postresql database that couldn't be gotten) onto my new hard drive.
Now, when I try to vacuum/analyze my database I get an error saying:
An error has occurred trying to perform the requested action. The error was:
7 - SQLSTATE = XX002
ERROR: index "game_players_idx_02" contains unexpected zero page at block 337497;
Error while executing the query
Any way to fix this? I tried vacuum/analyze and just plain vacuum.
I'm using PT2 and XP btw. I also had to uninstall and reinstall postgres as I suspect some files from that were missing. I was getting errors that I found out required a reinstall by searching through the forums.